Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.0008532/0.0008532, allocations: 92.97 kB / 17 MB, free: 6.07 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.001039/0.001039, allocations: 175.4 kB / 17.89 MB, free: 5.668 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.391/1.391, allocations: 223.2 MB / 241.9 MB, free: 14.59 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.2109/0.2109, allocations: 44.22 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 16 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 61.92 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002405/0.157, allocations: 1.39 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1584, allocations: 0.8036 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.1585, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1588, allocations: 39.83 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.159, allocations: 43.83 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1593, allocations: 83.34 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1594, allocations: 87.69 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.1595, allocations: 12.22 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.1596, allocations: 39.8 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.1597, allocations: 31.83 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1597, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1599, allocations: 36 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1599, allocations: 19.91 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.16, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1601, allocations: 84.09 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1602, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1602, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1602, allocations: 0 / 474.4 MB, free: 10.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005642/0.1607, allocations: 401.2 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1608, allocations: 8.031 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1609, allocations: 30.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1609, allocations: 11.81 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1612, allocations: 210.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1612, allocations: 4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1612, allocations: 7.953 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1614, allocations: 53.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1614, allocations: 3.938 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1614, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1614, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.1615, allocations: 15.98 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.162, allocations: 284.9 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1621, allocations: 66.61 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1622, allocations: 20.84 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1622, allocations: 4 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1624, allocations: 63.39 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1625, allocations: 0 / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005929/0.1631, allocations: 177.2 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1631, allocations: 51.41 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1633, allocations: 182.2 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1634, allocations: 33.69 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1635, allocations: 108 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1635, allocations: 27.69 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1635, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1637, allocations: 326.8 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.1637, allocations: 20 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1638, allocations: 41.64 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.1639, allocations: 23.98 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1639, allocations: 0 / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1641, allocations: 105.5 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1641, allocations: 8 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1641, allocations: 0 / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1641, allocations: 4.031 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.1642, allocations: 15.98 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1642, allocations: 4 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.1643, allocations: 0 / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1643, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.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.0001403/0.1645, allocations: 137.1 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.1645, allocations: 7.906 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1645, allocations: 16.72 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1645, allocations: 7.984 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1646, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1646, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.165, allocations: 399.5 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.165, allocations: 0 / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1651, allocations: 11.94 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1651, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1651, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1651, allocations: 4 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1651, allocations: 4.031 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1654, allocations: 212.1 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1654, allocations: 85.02 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1655, allocations: 0 / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1655, allocations: 11.98 kB / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1656, allocations: 4 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1656, allocations: 4 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1657, allocations: 143.2 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1658, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.166, allocations: 24 kB / 477.7 MB, free: 7.215 MB / 350.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.001549/0.1676, allocations: 1.111 MB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1678, allocations: 51.98 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1678, allocations: 4.062 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.1679, allocations: 32.08 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1682, allocations: 29.61 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1695, allocations: 0.7 MB / 479.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1698, allocations: 0.7004 MB / 480.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1699, allocations: 16.83 kB / 480.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.17, allocations: 35.42 kB / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.17, allocations: 0 / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.1863, allocations: 2.918 MB / 483.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.1866, allocations: 222.6 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.096, allocations: 0 / 483.5 MB, free: 1.586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat