Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.001073/0.001074, allocations: 96.98 kB / 15.69 MB, free: 480 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.0012/0.0012, allocations: 171.8 kB / 16.57 MB, free: 6.391 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.829/1.829, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4008/0.4008, allocations: 43.54 MB / 314.5 MB, free: 8.816 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.0006309/0.0006311, allocations: 23.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002255/0.1541, allocations: 1.52 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1554, allocations: 0.8085 MB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.1555, allocations: 4 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.156, allocations: 239.4 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1563, allocations: 167.6 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1567, allocations: 123.7 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.157, allocations: 171.6 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1571, allocations: 17.55 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1572, allocations: 111.6 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1574, allocations: 135.6 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1575, allocations: 4 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.1576, allocations: 35.86 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.1576, allocations: 59.75 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.1577, allocations: 57.58 kB / 446.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1579, allocations: 160 kB / 446.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.158, allocations: 0 / 446.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.158, allocations: 0 / 446.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.158, allocations: 0 / 446.4 MB, free: 9.348 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00077/0.1587, allocations: 0.5329 MB / 447 MB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1588, allocations: 8.031 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.1589, allocations: 46.48 kB / 447 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.1589, allocations: 27.62 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1593, allocations: 259.1 kB / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1593, allocations: 4 kB / 447.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1594, allocations: 11.98 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1596, allocations: 95.3 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1596, allocations: 11.94 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1596, allocations: 7.938 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1596, allocations: 0 / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1598, allocations: 35.97 kB / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.1604, allocations: 453 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1607, allocations: 125.4 kB / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1607, allocations: 7.891 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.161, allocations: 113.2 kB / 448.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.161, allocations: 0 / 448.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008945/0.1619, allocations: 371.7 kB / 448.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.162, allocations: 85.09 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.1625, allocations: 481.6 kB / 449.1 MB, free: 6.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1625, allocations: 29.7 kB / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1627, allocations: 156.4 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1627, allocations: 55.34 kB / 449.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.1627, allocations: 4 kB / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1629, allocations: 342.8 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.163, allocations: 39.94 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1631, allocations: 75.41 kB / 449.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1632, allocations: 55.98 kB / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1633, allocations: 0 / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003081/0.1636, allocations: 181.2 kB / 450 MB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1636, allocations: 4 kB / 450 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1636, allocations: 0 / 450 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1636, allocations: 4 kB / 450 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1638, allocations: 31.92 kB / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1638, allocations: 4 kB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.1639, allocations: 19.94 kB / 450 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1639, allocations: 8 kB / 450.1 MB, free: 5.453 MB / 382.1 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.0002024/0.1641, allocations: 173.7 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1642, allocations: 31.62 kB / 450.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.1643, allocations: 42.75 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1643, allocations: 0 / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1643, allocations: 4 kB / 450.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1643, allocations: 3.938 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1653, allocations: 0.6281 MB / 450.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1653, allocations: 3.984 kB / 450.9 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1654, allocations: 20.69 kB / 451 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1654, allocations: 0 / 451 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1654, allocations: 8 kB / 451 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1654, allocations: 3.984 kB / 451 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.1654, allocations: 12.02 kB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.1659, allocations: 401.2 kB / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1661, allocations: 100.7 kB / 451.5 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.1661, allocations: 15.98 kB / 451.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1663, allocations: 4 kB / 451.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.1663, allocations: 15.98 kB / 451.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1664, allocations: 7.984 kB / 451.5 MB, free: 3.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004234/0.1668, allocations: 363.1 kB / 451.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1668, allocations: 0 / 451.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.1671, allocations: 32 kB / 451.9 MB, free: 3.473 MB / 382.1 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.00218/0.1693, allocations: 1.52 MB / 453.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1697, allocations: 115.9 kB / 453.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1697, allocations: 7.875 kB / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1698, allocations: 55.92 kB / 453.6 MB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1702, allocations: 49.34 kB / 453.6 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2189/0.3892, allocations: 2.027 MB / 455.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3895, allocations: 0.7812 MB / 456.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3896, allocations: 26.34 kB / 456.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3897, allocations: 87.47 kB / 456.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3897, allocations: 0 / 456.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.4073, allocations: 5.361 MB / 461.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.4075, allocations: 212.8 kB / 462.1 MB, free: 44.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.315, allocations: 3.938 kB / 462.1 MB, free: 44.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat