Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001179/0.001179, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.59/1.59, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001058/0.001058, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2408/0.2408, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003195, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.6461, allocations: 87.82 MB / 0.5646 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6465, allocations: 77.75 kB / 0.5647 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02144/0.6679, allocations: 7.517 MB / 0.572 GB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.668, allocations: 0 / 0.572 GB, free: 5.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.668, allocations: 4.562 kB / 0.572 GB, free: 5.453 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009622/0.669, allocations: 0.514 MB / 0.5725 GB, free: 4.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.6691, allocations: 12.03 kB / 0.5726 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.6692, allocations: 40.98 kB / 0.5726 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.6693, allocations: 24.28 kB / 0.5726 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6699, allocations: 275.2 kB / 0.5729 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6699, allocations: 4 kB / 0.5729 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.6699, allocations: 7.75 kB / 0.5729 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.6702, allocations: 102.5 kB / 0.573 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6702, allocations: 0 / 0.573 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.6703, allocations: 8 kB / 0.573 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.6703, allocations: 0 / 0.573 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.6704, allocations: 43.22 kB / 0.573 GB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.6712, allocations: 466.7 kB / 0.5735 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.6715, allocations: 119.7 kB / 0.5736 GB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6715, allocations: 4 kB / 0.5736 GB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.6718, allocations: 115.5 kB / 0.5737 GB, free: 3.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.6718, allocations: 3.984 kB / 0.5737 GB, free: 3.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00112/0.6729, allocations: 365.8 kB / 0.5741 GB, free: 3.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.673, allocations: 81.11 kB / 0.5741 GB, free: 3.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.6735, allocations: 327.8 kB / 0.5745 GB, free: 3.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.6735, allocations: 29.64 kB / 0.5745 GB, free: 2.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6736, allocations: 138.4 kB / 0.5746 GB, free: 2.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.6737, allocations: 47.05 kB / 0.5747 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.6737, allocations: 7.812 kB / 0.5747 GB, free: 2.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6739, allocations: 338.2 kB / 0.575 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.674, allocations: 43.66 kB / 0.575 GB, free: 2.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.6741, allocations: 75.97 kB / 0.5751 GB, free: 2.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.6742, allocations: 54.98 kB / 0.5752 GB, free: 2.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6743, allocations: 0 / 0.5752 GB, free: 2.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003639/0.6746, allocations: 184.2 kB / 0.5753 GB, free: 2.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6747, allocations: 10.59 kB / 0.5753 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6747, allocations: 8.062 kB / 0.5754 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6747, allocations: 0 / 0.5754 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.6749, allocations: 39.86 kB / 0.5754 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6749, allocations: 0 / 0.5754 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/0.675, allocations: 4.062 kB / 0.5754 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.675, allocations: 15.88 kB / 0.5754 GB, free: 2.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001653/0.6752, allocations: 157.1 kB / 0.5756 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.6752, allocations: 27.67 kB / 0.5756 GB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.6757, allocations: 212.7 kB / 0.5758 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6757, allocations: 4 kB / 0.5758 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.6757, allocations: 3.938 kB / 0.5758 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6757, allocations: 3.984 kB / 0.5758 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.6767, allocations: 0.6597 MB / 0.5764 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.6767, allocations: 0 / 0.5764 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.6768, allocations: 23.92 kB / 0.5765 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.6768, allocations: 4 kB / 0.5765 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.6768, allocations: 4 kB / 0.5765 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6768, allocations: 4.062 kB / 0.5765 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6768, allocations: 192 / 0.5765 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.6773, allocations: 420.9 kB / 0.5769 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.6774, allocations: 118.9 kB / 0.577 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.6775, allocations: 4 kB / 0.577 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.6776, allocations: 10.8 kB / 0.577 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.6777, allocations: 18.75 kB / 0.577 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.6777, allocations: 4 kB / 0.577 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.678, allocations: 266.4 kB / 0.5773 GB, free: 364 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.678, allocations: 0 / 0.5773 GB, free: 364 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.6784, allocations: 51.06 kB / 0.5773 GB, free: 320 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001916/0.6803, allocations: 1.526 MB / 0.5788 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.6807, allocations: 127.3 kB / 0.5789 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6807, allocations: 0 / 0.5789 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6808, allocations: 66.16 kB / 0.579 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.6813, allocations: 54.16 kB / 0.5791 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.684, allocations: 1.792 MB / 0.5808 GB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6844, allocations: 0.7586 MB / 0.5815 GB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.6845, allocations: 46.12 kB / 0.5816 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6847, allocations: 79.16 kB / 0.5817 GB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 5.25e-06/0.6847, allocations: 0 / 0.5817 GB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.7049, allocations: 5.121 MB / 0.5867 GB, free: 7.004 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7051, allocations: 217.7 kB / 0.5869 GB, free: 6.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.687, allocations: 0 / 0.5869 GB, free: 6.754 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat