Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001623/0.001628, allocations: 183.7 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001693/0.001692, allocations: 95.5 kB / 270.9 MB, free: 8.363 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.5279/0.5279, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.001041, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1407, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002724/0.1435, allocations: 1.519 MB / 491.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1455, allocations: 0.8163 MB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.1456, allocations: 7.938 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.146, allocations: 143.6 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1464, allocations: 115.8 kB / 492.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.147, allocations: 135.6 kB / 493 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1473, allocations: 135.7 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1474, allocations: 25.55 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1476, allocations: 83.67 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1478, allocations: 95.64 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1479, allocations: 4 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.148, allocations: 35.86 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1481, allocations: 39.89 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.96e-05/0.1482, allocations: 57.56 kB / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1485, allocations: 136 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1485, allocations: 0 / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1485, allocations: 4 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1485, allocations: 0 / 493.6 MB, free: 7.758 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.0008455/0.1494, allocations: 0.4902 MB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1494, allocations: 12.02 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.1495, allocations: 38.56 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.1495, allocations: 19.72 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.15, allocations: 250.6 kB / 494.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.15, allocations: 7.984 kB / 494.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.15, allocations: 4 kB / 494.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1504, allocations: 99.3 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1504, allocations: 0 / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1504, allocations: 7.953 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1504, allocations: 4 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.1506, allocations: 35.97 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.1513, allocations: 444.8 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.1517, allocations: 117.4 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.1518, allocations: 15.92 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.1522, allocations: 109.1 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.1522, allocations: 0 / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00131/0.1535, allocations: 352.7 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.1536, allocations: 89.09 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.1541, allocations: 343 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1542, allocations: 33.7 kB / 496.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1543, allocations: 190.8 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1544, allocations: 51.34 kB / 496.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.1544, allocations: 7.938 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1546, allocations: 314.8 kB / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1548, allocations: 47.92 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.155, allocations: 71.41 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1552, allocations: 40 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1552, allocations: 0 / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005071/0.1557, allocations: 161.5 kB / 496.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1558, allocations: 4 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1558, allocations: 8.125 kB / 497 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1558, allocations: 4 kB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.1561, allocations: 35.92 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1561, allocations: 4 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1563, allocations: 7.984 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1563, allocations: 8 kB / 497 MB, free: 4.129 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.0002171/0.1565, allocations: 157.7 kB / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1566, allocations: 23.72 kB / 497.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.48e-05/0.1567, allocations: 33.73 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1567, allocations: 4 kB / 497.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1567, allocations: 0 / 497.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1567, allocations: 3.984 kB / 497.2 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1579, allocations: 0.6089 MB / 497.8 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1579, allocations: 4 kB / 497.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.158, allocations: 20 kB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.158, allocations: 0 / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.1581, allocations: 11.98 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1581, allocations: 0 / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/0.1581, allocations: 8.031 kB / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.1588, allocations: 409 kB / 498.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1589, allocations: 100.8 kB / 498.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.159, allocations: 8 kB / 498.4 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1592, allocations: 4 kB / 498.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.1593, allocations: 23.91 kB / 498.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.1593, allocations: 8 kB / 498.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004038/0.1597, allocations: 265.9 kB / 498.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1597, allocations: 0 / 498.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.1602, allocations: 36 kB / 498.7 MB, free: 2.289 MB / 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 (16): * Single equations (assignments): 12 * 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.002389/0.1626, allocations: 1.5 MB / 0.4885 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.1632, allocations: 115.8 kB / 0.4886 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1632, allocations: 0 / 0.4886 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1634, allocations: 55.92 kB / 0.4887 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.164, allocations: 64.97 kB / 0.4887 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.331/0.495, allocations: 1.776 MB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4954, allocations: 0.7565 MB / 0.4912 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4956, allocations: 72.08 kB / 0.4913 GB, free: 41.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.4956, allocations: 0 / 0.4913 GB, free: 41.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.692/3.187, allocations: 4.11 MB / 0.4953 GB, free: 41.21 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat