Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 96.75 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 174.4 kB / 16.56 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4377/0.4377, allocations: 43.54 MB / 314.5 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005662/0.0005663, allocations: 19.98 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002054/0.1552, allocations: 1.395 MB / 444.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1565, allocations: 0.7267 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.1566, allocations: 7.938 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1568, allocations: 23.84 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.157, allocations: 47.88 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1573, allocations: 75.78 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1574, allocations: 55.92 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.1575, allocations: 8.219 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.1576, allocations: 39.78 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.859e-05/0.1577, allocations: 31.84 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1577, allocations: 0 / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.1578, allocations: 35.92 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.1578, allocations: 15.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.1579, allocations: 41.64 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.158, allocations: 80.09 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.158, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1581, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1581, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.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.0005251/0.1586, allocations: 410.7 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1586, allocations: 12.03 kB / 445.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.1587, allocations: 38.56 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1587, allocations: 7.906 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.159, allocations: 202.8 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.159, allocations: 0 / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.159, allocations: 8 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1592, allocations: 49.67 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1592, allocations: 0 / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1592, allocations: 11.89 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1592, allocations: 0 / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.1593, allocations: 19.98 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1597, allocations: 288.8 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1599, allocations: 58.61 kB / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1599, allocations: 0 / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.1601, allocations: 75.47 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1601, allocations: 0 / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005057/0.1606, allocations: 169.2 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1607, allocations: 55.41 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1609, allocations: 186.2 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1609, allocations: 25.7 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.161, allocations: 96.14 kB / 447.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.161, allocations: 23.7 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.161, allocations: 8 kB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1611, allocations: 322.8 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1612, allocations: 19.98 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.1613, allocations: 33.66 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.1613, allocations: 35.91 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1613, allocations: 0 / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1615, allocations: 97.55 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1615, allocations: 8.031 kB / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1616, allocations: 192 / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1616, allocations: 4 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.1617, allocations: 24.23 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1617, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.1617, allocations: 8 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1617, allocations: 4 kB / 447.7 MB, free: 8.121 MB / 382.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 () * 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.0001109/0.1619, allocations: 129.8 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1619, allocations: 19.77 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.1619, allocations: 16.7 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1619, allocations: 0 / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.162, allocations: 4 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.162, allocations: 0 / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1624, allocations: 391.3 kB / 448.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1624, allocations: 3.984 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.1625, allocations: 8 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1625, allocations: 4.031 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1625, allocations: 4 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1625, allocations: 3.984 kB / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1625, allocations: 3.938 kB / 448.3 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1628, allocations: 214.2 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1628, allocations: 92.92 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1629, allocations: 8 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.163, allocations: 3.984 kB / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.163, allocations: 8 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.163, allocations: 4 kB / 448.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1631, allocations: 144 kB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1632, allocations: 0 / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1634, allocations: 20 kB / 448.7 MB, free: 6.953 MB / 382.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) * 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.001598/0.165, allocations: 1.188 MB / 449.9 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1652, allocations: 55.92 kB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1652, allocations: 0 / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1653, allocations: 31.98 kB / 450 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1656, allocations: 23.97 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.167, allocations: 0.8433 MB / 450.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1674, allocations: 0.7043 MB / 451.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.1675, allocations: 17.17 kB / 451.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.1675, allocations: 35.42 kB / 451.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1676, allocations: 0 / 451.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.1818, allocations: 2.916 MB / 454.6 MB, free: 1.062 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.1821, allocations: 212.4 kB / 454.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.895, allocations: 0 / 454.8 MB, free: 0.8242 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat