Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.09 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 84.5 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1592, allocations: 62.44 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003697/0.1629, allocations: 1.75 MB / 481.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1647, allocations: 0.9822 MB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.1648, allocations: 0 / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.1652, allocations: 71.78 kB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1656, allocations: 91.72 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.1658, allocations: 55.89 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.166, allocations: 107.7 kB / 482.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.166, allocations: 4.234 kB / 482.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.1661, allocations: 51.72 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1662, allocations: 47.83 kB / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1663, allocations: 4 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.1664, allocations: 39.98 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1664, allocations: 19.92 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.1665, allocations: 39.67 kB / 482.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1667, allocations: 103.9 kB / 483 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1667, allocations: 0 / 483 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1667, allocations: 0 / 483 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1667, allocations: 0 / 483 MB, free: 2.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005562/0.1673, allocations: 406.9 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1673, allocations: 12.02 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.1674, allocations: 46.75 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1674, allocations: 12.78 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1677, allocations: 206.7 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1677, allocations: 384 / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1677, allocations: 3.938 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1679, allocations: 57.61 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1679, allocations: 0 / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.168, allocations: 0 / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.168, allocations: 0 / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.168, allocations: 12 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.1683, allocations: 189.7 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1684, allocations: 50.56 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1685, allocations: 20.84 kB / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.1686, allocations: 3.938 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.1688, allocations: 71.3 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1688, allocations: 0 / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003073/0.1691, allocations: 93.58 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1692, allocations: 51.41 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1694, allocations: 186.9 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1694, allocations: 37.64 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1695, allocations: 100.1 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1695, allocations: 7.812 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.1696, allocations: 29.7 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1697, allocations: 326.8 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.1698, allocations: 11.98 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1699, allocations: 29.7 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.17, allocations: 41.7 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.17, allocations: 7.938 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001584/0.1702, allocations: 81.53 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1702, allocations: 6.656 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1702, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1702, allocations: 4.312 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.1703, allocations: 8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1703, allocations: 3.984 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1704, allocations: 11.98 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1704, allocations: 7.938 kB / 485.1 MB, free: 15.82 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.1705, allocations: 129.8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1705, allocations: 19.8 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.1706, allocations: 13 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1706, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1706, allocations: 3.938 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1706, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1708, allocations: 193.5 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1708, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.1708, allocations: 4 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1708, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1708, allocations: 8 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1708, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1708, allocations: 160 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.171, allocations: 112.9 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1711, allocations: 85.02 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1711, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.1712, allocations: 3.984 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1712, allocations: 4 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1712, allocations: 8 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1714, allocations: 152.7 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1714, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1716, allocations: 23.91 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.1731, allocations: 0.9408 MB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1732, allocations: 47.91 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1733, allocations: 0 / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.1733, allocations: 19.98 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1736, allocations: 31.06 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1752, allocations: 1.506 MB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1755, allocations: 0.701 MB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.1756, allocations: 16.73 kB / 489.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.1756, allocations: 43.36 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1756, allocations: 0 / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.1889, allocations: 2.966 MB / 492.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.1891, allocations: 234.1 kB / 492.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.128, allocations: 0 / 492.3 MB, free: 8.555 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches