Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",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.00225/0.002256, allocations: 188.1 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.149/2.149, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001156/0.001156, allocations: 86.94 kB / 270.9 MB, free: 13.29 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.3016/0.3016, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006388, allocations: 20 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1457, allocations: 58.86 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002665/0.1484, allocations: 1.348 MB / 491.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1503, allocations: 0.715 MB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1504, allocations: 0 / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1508, allocations: 55.8 kB / 492.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1511, allocations: 55.86 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1515, allocations: 80.41 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1517, allocations: 63.84 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.1517, allocations: 4 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1519, allocations: 43.83 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.152, allocations: 31.8 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.152, allocations: 4 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1521, allocations: 19.98 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1522, allocations: 19.91 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.1523, allocations: 41.64 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1525, allocations: 72.12 kB / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1525, allocations: 0 / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1525, allocations: 0 / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1525, allocations: 0 / 492.9 MB, free: 6.652 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006097/0.1531, allocations: 386.9 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1532, allocations: 12.02 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1532, allocations: 38.56 kB / 493.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1533, allocations: 11.86 kB / 493.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1536, allocations: 194.9 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1536, allocations: 8 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1536, allocations: 0 / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1538, allocations: 45.69 kB / 493.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1539, allocations: 4 kB / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1539, allocations: 7.922 kB / 493.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1539, allocations: 0 / 493.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.154, allocations: 19.89 kB / 493.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1542, allocations: 177.6 kB / 493.8 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.1545, allocations: 58.61 kB / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1545, allocations: 0 / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1548, allocations: 67.42 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.1548, allocations: 4 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004265/0.1552, allocations: 97.67 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1553, allocations: 55.41 kB / 494 MB, free: 5.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.1556, allocations: 190.1 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1556, allocations: 29.7 kB / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.1557, allocations: 162.6 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1557, allocations: 3.906 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.1558, allocations: 8 kB / 494.4 MB, free: 4.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1559, allocations: 314.8 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.156, allocations: 12 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.1561, allocations: 33.64 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.1562, allocations: 16 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1562, allocations: 0 / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002405/0.1565, allocations: 77.58 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1565, allocations: 4 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1565, allocations: 0 / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1565, allocations: 7.984 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1567, allocations: 15.88 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1567, allocations: 4.031 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.1568, allocations: 7.984 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1568, allocations: 7.953 kB / 494.9 MB, free: 4.383 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 (7): * Single equations (assignments): 7 * 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.0001332/0.157, allocations: 121.8 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.157, allocations: 11.91 kB / 495 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1571, allocations: 16.3 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1571, allocations: 0 / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1571, allocations: 0 / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1571, allocations: 0 / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1573, allocations: 193.5 kB / 495.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1573, allocations: 0 / 495.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1574, allocations: 7.938 kB / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1574, allocations: 0 / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1574, allocations: 7.984 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1574, allocations: 0 / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1574, allocations: 0 / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1577, allocations: 112.8 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.1578, allocations: 93.02 kB / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1578, allocations: 0 / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1579, allocations: 4.188 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.158, allocations: 11.98 kB / 495.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.158, allocations: 0 / 495.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1582, allocations: 139.2 kB / 495.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1582, allocations: 0 / 495.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.1585, allocations: 16 kB / 495.6 MB, free: 3.566 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002445/0.1609, allocations: 0.9423 MB / 496.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.1614, allocations: 39.98 kB / 496.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1615, allocations: 4 kB / 496.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1616, allocations: 19.92 kB / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1622, allocations: 31.59 kB / 496.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1647, allocations: 0.8035 MB / 497.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.1652, allocations: 0.7043 MB / 498.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1653, allocations: 27.42 kB / 498.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of SimCode: time 1.502e-06/0.1653, allocations: 4 kB / 498.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.829/2.994, allocations: 2.182 MB / 0.4887 GB, free: 14.75 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat