Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",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.001695/0.0017, allocations: 187.6 kB / 16.4 MB, free: 5.625 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.287/2.287, allocations: 205.4 MB / 222.5 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.001184/0.001184, allocations: 98.8 kB / 270.9 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.3056/0.3056, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005017, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00291/0.1465, allocations: 1.379 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1485, allocations: 0.7344 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1487, allocations: 0 / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.1491, allocations: 27.84 kB / 492.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1494, allocations: 43.88 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1499, allocations: 75.78 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1501, allocations: 63.84 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1503, allocations: 8.234 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1504, allocations: 35.84 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.1505, allocations: 27.86 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1505, allocations: 0 / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1507, allocations: 31.92 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1508, allocations: 19.91 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1508, allocations: 37.64 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1511, allocations: 80.05 kB / 492.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1511, allocations: 0 / 492.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1511, allocations: 4 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1511, allocations: 0 / 492.9 MB, free: 6.645 MB / 330.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.000703/0.1518, allocations: 390.9 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1519, allocations: 8.031 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.152, allocations: 34.56 kB / 493.3 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.152, allocations: 11.86 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1523, allocations: 199.5 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1524, allocations: 8 kB / 493.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1524, allocations: 4 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1526, allocations: 57.61 kB / 493.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1526, allocations: 0 / 493.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1527, allocations: 0 / 493.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1527, allocations: 4 kB / 493.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1528, allocations: 19.94 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.1533, allocations: 280.9 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1536, allocations: 70.59 kB / 493.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1536, allocations: 0 / 493.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1539, allocations: 63.52 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1539, allocations: 4 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007706/0.1547, allocations: 165.2 kB / 494.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1547, allocations: 55.41 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.155, allocations: 166.9 kB / 494.4 MB, free: 4.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.155, allocations: 25.7 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.1551, allocations: 158.6 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.1552, allocations: 27.64 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1552, allocations: 4 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1554, allocations: 318.8 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.1555, allocations: 16 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1556, allocations: 41.64 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1557, allocations: 27.98 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1557, allocations: 3.938 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002778/0.156, allocations: 81.69 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.156, allocations: 11.44 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1561, allocations: 4.141 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1561, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1562, allocations: 23.86 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1563, allocations: 8.031 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.1564, allocations: 4 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1564, allocations: 4 kB / 495.1 MB, free: 4.16 MB / 330.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.0001491/0.1566, allocations: 125.8 kB / 495.3 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1566, allocations: 7.906 kB / 495.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.1567, allocations: 12.72 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1567, allocations: 3.953 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1567, allocations: 0 / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1567, allocations: 4 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.1574, allocations: 391.4 kB / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1574, allocations: 4.375 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.1575, allocations: 11.94 kB / 495.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1575, allocations: 7.938 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1575, allocations: 4 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1575, allocations: 80 / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.1576, allocations: 7.984 kB / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.158, allocations: 210 kB / 495.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.158, allocations: 89 kB / 496 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1581, allocations: 8 kB / 496 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1582, allocations: 0 / 496 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1583, allocations: 7.984 kB / 496 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1583, allocations: 8 kB / 496 MB, free: 3.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1585, allocations: 128.5 kB / 496.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1585, allocations: 0 / 496.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00037/0.1588, allocations: 20 kB / 496.2 MB, free: 3.012 MB / 330.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 (8): * Single equations (assignments): 6 * 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.002031/0.1609, allocations: 1.179 MB / 497.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1613, allocations: 55.92 kB / 497.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1613, allocations: 8.062 kB / 497.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1614, allocations: 27.92 kB / 497.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1619, allocations: 23.97 kB / 497.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1637, allocations: 0.8186 MB / 498.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1641, allocations: 0.7004 MB / 499 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1642, allocations: 35.42 kB / 499 MB, free: 112 kB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1643, allocations: 0 / 499 MB, free: 112 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.988/3.153, allocations: 2.306 MB / 0.4896 GB, free: 13.8 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat