Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.0008405/0.0008405, allocations: 91.97 kB / 16.98 MB, free: 5.938 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.0008514/0.0008514, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.5/1.5, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2281/0.2281, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 16 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002258/0.1543, allocations: 1.402 MB / 472.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1557, allocations: 0.8036 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.1558, allocations: 0 / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1561, allocations: 75.81 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1563, allocations: 71.78 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1566, allocations: 95.64 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1568, allocations: 71.84 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1569, allocations: 15.92 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.157, allocations: 39.84 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.1571, allocations: 51.81 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1571, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.1572, allocations: 32 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.1573, allocations: 31.89 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.1573, allocations: 37.64 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1575, allocations: 104 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1575, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1575, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1576, allocations: 0 / 474.4 MB, free: 10.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005576/0.1581, allocations: 410.8 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1582, allocations: 12.03 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1582, allocations: 34.56 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1583, allocations: 11.91 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1585, allocations: 210.8 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1586, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1586, allocations: 7.953 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1587, allocations: 57.61 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1588, allocations: 3.984 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1588, allocations: 4 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1588, allocations: 3.938 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.1589, allocations: 27.97 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1593, allocations: 300.8 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.1596, allocations: 58.55 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1596, allocations: 7.938 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1598, allocations: 63.52 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1598, allocations: 4 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007668/0.1606, allocations: 237.6 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1607, allocations: 59.39 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1609, allocations: 211.2 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1609, allocations: 25.7 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.1611, allocations: 112 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1611, allocations: 31.55 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.1611, allocations: 8 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1613, allocations: 326.8 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.1613, allocations: 31.98 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.1614, allocations: 48.77 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.1615, allocations: 31.94 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1615, allocations: 0 / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002155/0.1617, allocations: 129.5 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1618, allocations: 4 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1618, allocations: 7.938 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1618, allocations: 0 / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.1619, allocations: 23.92 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1619, allocations: 4 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.162, allocations: 0 / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.162, allocations: 8 kB / 476.8 MB, free: 8.086 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 (13): * Single equations (assignments): 13 * 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.0001366/0.1621, allocations: 141.5 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1621, allocations: 15.94 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1622, allocations: 21.38 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1622, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1622, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1622, allocations: 3.938 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.1628, allocations: 451.9 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1628, allocations: 4.062 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1629, allocations: 19.94 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1629, allocations: 0 / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1629, allocations: 4 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1629, allocations: 4 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1629, allocations: 4 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1632, allocations: 256.4 kB / 477.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1633, allocations: 85.02 kB / 477.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1633, allocations: 11.88 kB / 477.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1634, allocations: 8 kB / 477.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1635, allocations: 7.984 kB / 477.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1635, allocations: 4 kB / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1637, allocations: 159.2 kB / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.515e-06/0.1637, allocations: 0 / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.164, allocations: 39.92 kB / 478 MB, free: 6.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001805/0.1658, allocations: 1.33 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.166, allocations: 79.84 kB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.166, allocations: 3.938 kB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.1661, allocations: 39.92 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1664, allocations: 23.98 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1677, allocations: 0.9706 MB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1681, allocations: 0.716 MB / 481.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.1682, allocations: 28.62 kB / 481.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.1683, allocations: 35.42 kB / 481.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1683, allocations: 0 / 481.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1832, allocations: 3.325 MB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.1834, allocations: 211.8 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.903, allocations: 0 / 484.8 MB, free: 172 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat