Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008971, allocations: 88.86 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5056/0.5056, allocations: 43.47 MB / 358.6 MB, free: 51.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.214e-05/6.225e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1692, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.6485, allocations: 87.62 MB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.6488, allocations: 75.39 kB / 0.5586 GB, free: 16.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.6633, allocations: 5.545 MB / 0.564 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.6633, allocations: 0 / 0.564 GB, free: 13.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.6633, allocations: 0 / 0.564 GB, free: 13.15 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004636/0.6638, allocations: 413.7 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6639, allocations: 8.031 kB / 0.5644 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.6639, allocations: 35.84 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.664, allocations: 23.25 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.6643, allocations: 217.8 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6643, allocations: 0 / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.6643, allocations: 7.25 kB / 0.5646 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.6645, allocations: 55.19 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6645, allocations: 0 / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6645, allocations: 1.375 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.6645, allocations: 0 / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.6646, allocations: 18.02 kB / 0.5647 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.6649, allocations: 309.1 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.665, allocations: 56.06 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.6651, allocations: 21.19 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.6651, allocations: 0 / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.6652, allocations: 69.64 kB / 0.5651 GB, free: 11.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.6653, allocations: 4 kB / 0.5651 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004078/0.6657, allocations: 161.4 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.6657, allocations: 51.41 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.6659, allocations: 204.7 kB / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.6659, allocations: 30.89 kB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.6659, allocations: 107.8 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.666, allocations: 26.03 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.666, allocations: 4 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.666, allocations: 328.2 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.6661, allocations: 18.19 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.6661, allocations: 39.27 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.6662, allocations: 19.81 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6662, allocations: 0 / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001281/0.6663, allocations: 98.64 kB / 0.5662 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6663, allocations: 4 kB / 0.5662 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6664, allocations: 4.031 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6664, allocations: 9.953 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.6665, allocations: 19.92 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6665, allocations: 3.953 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.6665, allocations: 4 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.6666, allocations: 4 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.6666, allocations: 107.2 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.6666, allocations: 15.81 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.6668, allocations: 125.9 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6669, allocations: 0 / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6669, allocations: 0 / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6669, allocations: 7.953 kB / 0.5665 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.6673, allocations: 416.7 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6673, allocations: 0 / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.6673, allocations: 8 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6673, allocations: 7.984 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6673, allocations: 9.203 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6674, allocations: 3.938 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6674, allocations: 4 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.6675, allocations: 215.7 kB / 0.5671 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.6676, allocations: 100.7 kB / 0.5672 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.6676, allocations: 7.891 kB / 0.5672 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.6677, allocations: 11.81 kB / 0.5672 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.6678, allocations: 8.359 kB / 0.5672 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6678, allocations: 4 kB / 0.5672 GB, free: 9.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.6679, allocations: 167.6 kB / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6679, allocations: 0 / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.6682, allocations: 43.17 kB / 0.5674 GB, free: 9.648 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.6694, allocations: 1.132 MB / 0.5685 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.6696, allocations: 66.16 kB / 0.5686 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6696, allocations: 0 / 0.5686 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.6696, allocations: 31 kB / 0.5686 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.6699, allocations: 21.06 kB / 0.5687 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.6705, allocations: 261.2 kB / 0.5689 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.6707, allocations: 0.7157 MB / 0.5696 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.6707, allocations: 20.84 kB / 0.5696 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.6708, allocations: 37.11 kB / 0.5697 GB, free: 7.441 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6708, allocations: 0 / 0.5697 GB, free: 7.441 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.686, allocations: 3.231 MB / 0.5728 GB, free: 4.246 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.6862, allocations: 187.5 kB / 0.573 GB, free: 4.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.336, allocations: 0 / 0.573 GB, free: 4.02 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat