Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.001116/0.001117, allocations: 98.39 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 184.1 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 12 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002364/0.1441, allocations: 1.543 MB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1458, allocations: 0.8933 MB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1459, allocations: 3.938 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1464, allocations: 207.5 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.1468, allocations: 151.6 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1472, allocations: 150.4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1475, allocations: 159.7 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1476, allocations: 21.67 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1478, allocations: 107.6 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.148, allocations: 107.6 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.148, allocations: 8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1481, allocations: 43.98 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.1482, allocations: 55.75 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1482, allocations: 57.58 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1485, allocations: 164 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1485, allocations: 0 / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1485, allocations: 0 / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1485, allocations: 0 / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007455/0.1493, allocations: 0.5253 MB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1493, allocations: 8.031 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.1494, allocations: 42.55 kB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1494, allocations: 23.72 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1498, allocations: 267 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1498, allocations: 8 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1498, allocations: 15.84 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1501, allocations: 103.4 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1501, allocations: 7.984 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1501, allocations: 3.984 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1501, allocations: 4 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1503, allocations: 47.91 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.1508, allocations: 472.8 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1512, allocations: 125.2 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1512, allocations: 4 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.1515, allocations: 129.1 kB / 477 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1515, allocations: 4 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00128/0.1528, allocations: 493 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.1529, allocations: 85.06 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.1533, allocations: 424.5 kB / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1534, allocations: 33.7 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1535, allocations: 160.4 kB / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1536, allocations: 71.08 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.1536, allocations: 4 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1538, allocations: 342.8 kB / 478.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1539, allocations: 55.97 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1541, allocations: 99.27 kB / 478.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1542, allocations: 64 kB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1542, allocations: 3.938 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003758/0.1546, allocations: 229.4 kB / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1547, allocations: 4 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1547, allocations: 3.984 kB / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1547, allocations: 4 kB / 479 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1549, allocations: 43.92 kB / 479 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1549, allocations: 16.08 kB / 479 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.155, allocations: 8 kB / 479.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.155, allocations: 11.98 kB / 479.1 MB, free: 5.793 MB / 350.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 (26): * Single equations (assignments): 26 * 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.0001934/0.1552, allocations: 166.3 kB / 479.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1552, allocations: 31.61 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.1553, allocations: 38.62 kB / 479.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1553, allocations: 4 kB / 479.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1553, allocations: 0 / 479.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1554, allocations: 7.953 kB / 479.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/0.1563, allocations: 0.7233 MB / 480 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1563, allocations: 7.938 kB / 480 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.1564, allocations: 28.31 kB / 480.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1564, allocations: 4 kB / 480.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1564, allocations: 15.92 kB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1564, allocations: 0 / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1564, allocations: 7.938 kB / 480.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.157, allocations: 477.3 kB / 480.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1571, allocations: 108.7 kB / 480.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1572, allocations: 15.95 kB / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1573, allocations: 8 kB / 480.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1574, allocations: 23.91 kB / 480.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1574, allocations: 8 kB / 480.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000333/0.1578, allocations: 319 kB / 481 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1578, allocations: 0 / 481 MB, free: 3.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1581, allocations: 51.98 kB / 481.1 MB, free: 3.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.002084/0.1602, allocations: 1.764 MB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1605, allocations: 151.8 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1606, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1607, allocations: 91.95 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1611, allocations: 53.03 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.1637, allocations: 2.051 MB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1642, allocations: 0.7794 MB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.1643, allocations: 38.3 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1645, allocations: 99.39 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.434e-06/0.1645, allocations: 0 / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1824, allocations: 5.622 MB / 491.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.1828, allocations: 224.8 kB / 491.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.08, allocations: 0 / 491.9 MB, free: 8.926 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat