Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.0008788/0.0008791, allocations: 98.39 kB / 17 MB, free: 6.418 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.001006/0.001006, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.382/1.382, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003421/0.1606, allocations: 1.558 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1628, allocations: 0.9011 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1629, allocations: 3.938 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.1635, allocations: 151.7 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1639, allocations: 119.6 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.1646, allocations: 155.2 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.165, allocations: 195.4 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1652, allocations: 33.59 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.1654, allocations: 95.55 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1656, allocations: 103.6 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1657, allocations: 4 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1659, allocations: 51.98 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.166, allocations: 51.75 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.1661, allocations: 57.52 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1664, allocations: 156 kB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1665, allocations: 0 / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1665, allocations: 4 kB / 475.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1665, allocations: 0 / 475.3 MB, free: 9.996 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.0009081/0.1674, allocations: 498.2 kB / 475.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.1675, allocations: 8.031 kB / 475.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.1675, allocations: 42.55 kB / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1676, allocations: 19.72 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.168, allocations: 262.4 kB / 476.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1681, allocations: 4 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1681, allocations: 19.94 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.1685, allocations: 106.3 kB / 476.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1685, allocations: 3.984 kB / 476.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1685, allocations: 4 kB / 476.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1685, allocations: 4 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1687, allocations: 43.91 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.1696, allocations: 468.7 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.1701, allocations: 117.2 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1703, allocations: 53.81 kB / 476.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1703, allocations: 4 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.1707, allocations: 120.9 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/0.1707, allocations: 0 / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001712/0.1724, allocations: 489.3 kB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.1725, allocations: 81.11 kB / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.1731, allocations: 350.9 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1731, allocations: 37.69 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1733, allocations: 140.5 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.1734, allocations: 67.09 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.1734, allocations: 4 kB / 478.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1736, allocations: 342.8 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1738, allocations: 59.97 kB / 478.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.174, allocations: 87.34 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1742, allocations: 72.08 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1742, allocations: 0 / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005684/0.1748, allocations: 233.1 kB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.1749, allocations: 8 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1749, allocations: 3.984 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1749, allocations: 0 / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1751, allocations: 47.92 kB / 479 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1752, allocations: 8.062 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1753, allocations: 8 kB / 479 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1753, allocations: 7.938 kB / 479 MB, free: 5.977 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.0003087/0.1757, allocations: 170.3 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.1757, allocations: 27.62 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.1758, allocations: 33.73 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1758, allocations: 4 kB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1758, allocations: 3.953 kB / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1758, allocations: 3.984 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1769, allocations: 0.7193 MB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1769, allocations: 4 kB / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.177, allocations: 27.92 kB / 480 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.177, allocations: 4 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.1771, allocations: 11.98 kB / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1771, allocations: 12.12 kB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1771, allocations: 0 / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.1778, allocations: 416.8 kB / 480.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1779, allocations: 108.7 kB / 480.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.178, allocations: 11.98 kB / 480.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1783, allocations: 4 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.1784, allocations: 19.98 kB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.1784, allocations: 15.92 kB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004062/0.1788, allocations: 261.9 kB / 480.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1789, allocations: 0 / 480.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.1795, allocations: 52 kB / 480.9 MB, free: 3.965 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.00273/0.1823, allocations: 1.355 MB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.1829, allocations: 159.8 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1829, allocations: 3.938 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.1832, allocations: 75.86 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.184, allocations: 57.66 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.1875, allocations: 1.47 MB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.1881, allocations: 0.7638 MB / 484.8 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1884, allocations: 41.92 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.1886, allocations: 87.39 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1886, allocations: 4 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.2141, allocations: 5.319 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/0.2146, allocations: 221.9 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.225, allocations: 3.938 kB / 490.4 MB, free: 10.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat