Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",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.001478/0.001477, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 93.75 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3043/0.3043, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.601e-05, allocations: 8.203 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4628, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.632, allocations: 86.97 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.6324, allocations: 71.97 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.6584, allocations: 5.646 MB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6585, allocations: 0 / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.6585, allocations: 3.938 kB / 0.5565 GB, free: 6.508 MB / 395.1 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.000658/0.6592, allocations: 418.7 kB / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6592, allocations: 12.03 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.6593, allocations: 15.91 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.6598, allocations: 226.7 kB / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.6598, allocations: 0 / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.6598, allocations: 0 / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.777e-05/0.6599, allocations: 19.98 kB / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6601, allocations: 49.67 kB / 0.5572 GB, free: 5.691 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.6601, allocations: 4 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6601, allocations: 0 / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.6602, allocations: 3.938 kB / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.6607, allocations: 293.3 kB / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6609, allocations: 54.69 kB / 0.5576 GB, free: 5.297 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.6609, allocations: 16.98 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.661, allocations: 0 / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.6612, allocations: 75.23 kB / 0.5577 GB, free: 5.191 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.6612, allocations: 0 / 0.5577 GB, free: 5.191 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006284/0.6618, allocations: 145.2 kB / 0.5578 GB, free: 5.043 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.6619, allocations: 55.41 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.6623, allocations: 233.7 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.6624, allocations: 25.7 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6625, allocations: 170.6 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.6626, allocations: 27.64 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.6626, allocations: 0 / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6627, allocations: 314.8 kB / 0.5586 GB, free: 4.195 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.6628, allocations: 19.94 kB / 0.5586 GB, free: 4.176 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.6629, allocations: 37.7 kB / 0.5586 GB, free: 4.133 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.663, allocations: 16 kB / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.663, allocations: 0 / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.6632, allocations: 81.67 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6633, allocations: 4 kB / 0.5587 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6633, allocations: 11.97 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6633, allocations: 0 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.6635, allocations: 12 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6635, allocations: 3.984 kB / 0.5588 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6636, allocations: 4 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.6637, allocations: 11.95 kB / 0.5588 GB, free: 3.984 MB / 395.1 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 9.952e-05/0.6638, allocations: 101 kB / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002472/0.664, allocations: 105.4 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.6641, allocations: 15.81 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.6644, allocations: 119.7 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6645, allocations: 4.281 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6645, allocations: 4.141 kB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6645, allocations: 3.984 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.6652, allocations: 407.8 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6652, allocations: 0 / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.6653, allocations: 11.94 kB / 0.5595 GB, free: 3.164 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6654, allocations: 8.031 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6654, allocations: 3.984 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6654, allocations: 3.953 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6654, allocations: 0 / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.6658, allocations: 213.9 kB / 0.5597 GB, free: 2.914 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.6659, allocations: 100.9 kB / 0.5598 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.666, allocations: 11.95 kB / 0.5598 GB, free: 2.785 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.6661, allocations: 4 kB / 0.5598 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.6662, allocations: 7.922 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.6662, allocations: 8 kB / 0.5599 GB, free: 2.766 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.6665, allocations: 188.2 kB / 0.56 GB, free: 2.582 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6665, allocations: 0 / 0.56 GB, free: 2.582 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.667, allocations: 35.94 kB / 0.5601 GB, free: 2.547 MB / 395.1 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.001792/0.6688, allocations: 1.106 MB / 0.5612 GB, free: 1.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.6691, allocations: 47.94 kB / 0.5612 GB, free: 1.414 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6691, allocations: 0 / 0.5612 GB, free: 1.414 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.6692, allocations: 31.94 kB / 0.5612 GB, free: 1.383 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.6696, allocations: 27.83 kB / 0.5613 GB, free: 1.355 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.6706, allocations: 321.3 kB / 0.5616 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.6709, allocations: 0.7197 MB / 0.5623 GB, free: 256 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6711, allocations: 43.42 kB / 0.5623 GB, free: 212 kB / 395.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6711, allocations: 0 / 0.5623 GB, free: 212 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.335, allocations: 2.864 MB / 0.5651 GB, free: 13.35 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat