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.001484/0.001484, allocations: 183.2 kB / 15.76 MB, free: 6.363 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.882/1.882, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001102/0.001101, allocations: 86.88 kB / 270.2 MB, free: 13.38 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.2152/0.2152, allocations: 43.57 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5629, allocations: 87.72 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.5631, allocations: 76.08 kB / 0.5646 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.5778, allocations: 5.553 MB / 0.57 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.5779, allocations: 4 kB / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.5779, allocations: 7.875 kB / 0.57 GB, free: 7.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005584/0.5785, allocations: 438.5 kB / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5785, allocations: 12.03 kB / 0.5705 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.5786, allocations: 34.55 kB / 0.5705 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.5786, allocations: 7.906 kB / 0.5705 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.579, allocations: 229.9 kB / 0.5707 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.579, allocations: 4 kB / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.579, allocations: 4 kB / 0.5707 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.5792, allocations: 56.8 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5792, allocations: 0 / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5792, allocations: 0 / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5792, allocations: 8 kB / 0.5708 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.5793, allocations: 23.28 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.5797, allocations: 306 kB / 0.5711 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.5799, allocations: 65.11 kB / 0.5712 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.5799, allocations: 0 / 0.5712 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.5801, allocations: 66.33 kB / 0.5712 GB, free: 5.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5801, allocations: 4 kB / 0.5712 GB, free: 5.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.5806, allocations: 184.7 kB / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5807, allocations: 55.41 kB / 0.5715 GB, free: 5.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.5809, allocations: 198.1 kB / 0.5716 GB, free: 5.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.581, allocations: 29.7 kB / 0.5717 GB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.581, allocations: 106.3 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.5811, allocations: 27.27 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5811, allocations: 0 / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5812, allocations: 325.8 kB / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.5813, allocations: 19.8 kB / 0.5721 GB, free: 5.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.5814, allocations: 44.2 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.422e-05/0.5814, allocations: 26.25 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5815, allocations: 0 / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.5817, allocations: 107.4 kB / 0.5723 GB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5817, allocations: 8 kB / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5817, allocations: 0 / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5817, allocations: 0 / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.5818, allocations: 16.03 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5818, allocations: 12.09 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.5819, allocations: 192 / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5819, allocations: 7.984 kB / 0.5723 GB, free: 4.844 MB / 378.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 () * Number of clocked 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 0.0001264/0.582, allocations: 132.4 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.5821, allocations: 15.47 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.5824, allocations: 121 kB / 0.5726 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5824, allocations: 0 / 0.5726 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5824, allocations: 4 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5824, allocations: 3.953 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.583, allocations: 421.2 kB / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5831, allocations: 0 / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.5831, allocations: 19.92 kB / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5831, allocations: 0 / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5831, allocations: 1.375 kB / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.5832, allocations: 12.27 kB / 0.573 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5832, allocations: 4.031 kB / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.5835, allocations: 224.8 kB / 0.5733 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.5836, allocations: 95.94 kB / 0.5734 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.5836, allocations: 7.953 kB / 0.5734 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.5837, allocations: 7.375 kB / 0.5734 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.5837, allocations: 11.98 kB / 0.5734 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5838, allocations: 4 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.584, allocations: 171.8 kB / 0.5735 GB, free: 3.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.584, allocations: 0 / 0.5735 GB, free: 3.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.5843, allocations: 35.81 kB / 0.5736 GB, free: 3.594 MB / 378.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) * Number of clocked states: 0 () * 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.001967/0.5863, allocations: 1.195 MB / 0.5747 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5865, allocations: 65.66 kB / 0.5748 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5865, allocations: 0 / 0.5748 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.5866, allocations: 34.61 kB / 0.5748 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.587, allocations: 23.05 kB / 0.5749 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5888, allocations: 0.9389 MB / 0.5758 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.5893, allocations: 0.7149 MB / 0.5765 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.5893, allocations: 20.84 kB / 0.5765 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.5895, allocations: 38.67 kB / 0.5765 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 3.176e-06/0.5895, allocations: 112 / 0.5765 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.6041, allocations: 3.234 MB / 0.5797 GB, free: 13.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.6043, allocations: 213.7 kB / 0.5799 GB, free: 13.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.161, allocations: 0 / 0.5799 GB, free: 13.22 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