Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001083/0.001083, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.1802/0.1802, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.024e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09965, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4566, allocations: 87.95 MB / 0.5519 GB, free: 6.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.4568, allocations: 77.8 kB / 0.552 GB, free: 6.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00984/0.4666, allocations: 4.216 MB / 0.5561 GB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4667, allocations: 4 kB / 0.5561 GB, free: 3.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.4667, allocations: 8 kB / 0.5561 GB, free: 3.492 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004449/0.4672, allocations: 458.4 kB / 0.5566 GB, free: 3.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4672, allocations: 8.031 kB / 0.5566 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.4673, allocations: 11.91 kB / 0.5566 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4675, allocations: 232.6 kB / 0.5568 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4675, allocations: 8 kB / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4676, allocations: 7.984 kB / 0.5568 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.64e-05/0.4677, allocations: 30.19 kB / 0.5568 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4678, allocations: 91.98 kB / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4678, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4678, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4678, allocations: 4 kB / 0.5569 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.4683, allocations: 500 kB / 0.5574 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.4685, allocations: 83.36 kB / 0.5575 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.4685, allocations: 31.67 kB / 0.5575 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4685, allocations: 7.75 kB / 0.5575 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.4687, allocations: 68.95 kB / 0.5576 GB, free: 1.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.4687, allocations: 0 / 0.5576 GB, free: 1.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001969/0.4689, allocations: 104.9 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.4689, allocations: 51.41 kB / 0.5577 GB, free: 1.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.469, allocations: 173.8 kB / 0.5579 GB, free: 1.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4691, allocations: 26.45 kB / 0.5579 GB, free: 1.578 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.4691, allocations: 114.2 kB / 0.558 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.4691, allocations: 31.3 kB / 0.5581 GB, free: 1.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.4692, allocations: 0 / 0.5581 GB, free: 1.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.4692, allocations: 329.5 kB / 0.5584 GB, free: 1.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.4693, allocations: 18.81 kB / 0.5584 GB, free: 1.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.4693, allocations: 57.61 kB / 0.5585 GB, free: 1.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.4694, allocations: 30.77 kB / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4694, allocations: 0 / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000151/0.4696, allocations: 118.4 kB / 0.5586 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4696, allocations: 4 kB / 0.5586 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4696, allocations: 8.125 kB / 0.5586 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4696, allocations: 0 / 0.5586 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4697, allocations: 23.98 kB / 0.5586 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4697, allocations: 11.95 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.4698, allocations: 11.92 kB / 0.5587 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4698, allocations: 4 kB / 0.5587 GB, free: 0.8672 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.509e-05/0.4699, allocations: 109 kB / 0.5588 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001197/0.47, allocations: 104.4 kB / 0.5589 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.47, allocations: 15.81 kB / 0.5589 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.4702, allocations: 111.6 kB / 0.559 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4702, allocations: 4 kB / 0.559 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4702, allocations: 0 / 0.559 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4702, allocations: 0 / 0.559 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4704, allocations: 187.3 kB / 0.5592 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4704, allocations: 3.984 kB / 0.5592 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.4704, allocations: 12 kB / 0.5592 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4705, allocations: 4.266 kB / 0.5592 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4705, allocations: 6.875 kB / 0.5592 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4705, allocations: 0 / 0.5592 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4705, allocations: 7.891 kB / 0.5592 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4707, allocations: 162.1 kB / 0.5594 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.4707, allocations: 104 kB / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4708, allocations: 0 / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.4708, allocations: 4 kB / 0.5595 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4709, allocations: 15.73 kB / 0.5595 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.4709, allocations: 7.953 kB / 0.5595 GB, free: 28 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.471, allocations: 132 kB / 0.5596 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.471, allocations: 3.938 kB / 0.5596 GB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.4713, allocations: 27.06 kB / 0.5596 GB, free: 15.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001167/0.4724, allocations: 0.9506 MB / 0.5606 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.4726, allocations: 62.05 kB / 0.5606 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4726, allocations: 0 / 0.5606 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.4727, allocations: 28.81 kB / 0.5607 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4729, allocations: 31.72 kB / 0.5607 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.4735, allocations: 245 kB / 0.5609 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4738, allocations: 0.7162 MB / 0.5616 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.4739, allocations: 17.19 kB / 0.5616 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.4739, allocations: 45.3 kB / 0.5617 GB, free: 13.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4739, allocations: 4 kB / 0.5617 GB, free: 13.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4963, allocations: 2.939 MB / 0.5646 GB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.4966, allocations: 170.5 kB / 0.5647 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.099, allocations: 0 / 0.5647 GB, free: 10.73 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat