Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 179.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007707/0.0007706, allocations: 85.34 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4425/0.4425, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004611, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002375/0.1549, allocations: 1.398 MB / 491.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1569, allocations: 1.305 MB / 493 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.157, allocations: 4 kB / 493 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1573, allocations: 31.83 kB / 493 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1575, allocations: 47.83 kB / 493 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1578, allocations: 75.84 kB / 493.1 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1579, allocations: 87.7 kB / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.1581, allocations: 12.2 kB / 493.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.1581, allocations: 31.86 kB / 493.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1583, allocations: 39.77 kB / 493.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1583, allocations: 7.938 kB / 493.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1585, allocations: 47.98 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.1585, allocations: 19.91 kB / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1586, allocations: 33.7 kB / 493.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1588, allocations: 92.08 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1588, allocations: 4 kB / 493.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1588, allocations: 0 / 493.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1588, allocations: 0 / 493.5 MB, free: 7.715 MB / 378.7 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.0005916/0.1594, allocations: 398.9 kB / 493.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1594, allocations: 12.02 kB / 493.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1595, allocations: 7.906 kB / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1597, allocations: 194.9 kB / 494.1 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1598, allocations: 8 kB / 494.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1598, allocations: 4 kB / 494.1 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.16, allocations: 67.39 kB / 494.2 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.16, allocations: 3.953 kB / 494.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.16, allocations: 0 / 494.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.16, allocations: 3.938 kB / 494.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.1601, allocations: 19.98 kB / 494.2 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1605, allocations: 281 kB / 494.5 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1607, allocations: 54.67 kB / 494.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1608, allocations: 28.75 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1608, allocations: 0 / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.161, allocations: 67.38 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.161, allocations: 4 kB / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006185/0.1617, allocations: 177.3 kB / 494.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1617, allocations: 77.11 kB / 494.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1619, allocations: 153.8 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1619, allocations: 25.7 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.162, allocations: 96.12 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.162, allocations: 19.72 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.162, allocations: 3.938 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1622, allocations: 338.8 kB / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1623, allocations: 19.98 kB / 495.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.1623, allocations: 38.56 kB / 495.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.1624, allocations: 27.94 kB / 495.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1624, allocations: 0 / 495.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1626, allocations: 89.59 kB / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1626, allocations: 16.05 kB / 495.7 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1626, allocations: 0 / 495.7 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1627, allocations: 3.938 kB / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1628, allocations: 15.94 kB / 495.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.1628, allocations: 4 kB / 495.7 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1628, allocations: 4 kB / 495.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1629, allocations: 7.984 kB / 495.7 MB, free: 5.246 MB / 378.7 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.0001194/0.163, allocations: 133.1 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.163, allocations: 11.91 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.1631, allocations: 12.72 kB / 495.9 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1631, allocations: 3.984 kB / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1631, allocations: 0 / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1631, allocations: 0 / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.1636, allocations: 391.3 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1636, allocations: 0 / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1636, allocations: 8 kB / 496.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1636, allocations: 4.031 kB / 496.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1636, allocations: 7.984 kB / 496.3 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1636, allocations: 3.938 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1637, allocations: 0 / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1639, allocations: 208.1 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.164, allocations: 85.02 kB / 496.5 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.164, allocations: 7.984 kB / 496.6 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1641, allocations: 8 kB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1641, allocations: 7.984 kB / 496.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1641, allocations: 4 kB / 496.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1643, allocations: 114.7 kB / 496.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 496.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.1645, allocations: 39.94 kB / 496.7 MB, free: 4.121 MB / 378.7 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.001122/0.1657, allocations: 0.4963 MB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1659, allocations: 59.97 kB / 497.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1659, allocations: 4.062 kB / 497.3 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.166, allocations: 27.92 kB / 497.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1663, allocations: 23.98 kB / 497.3 MB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1668, allocations: 235.8 kB / 497.6 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1671, allocations: 0.6965 MB / 498.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.1672, allocations: 23.42 kB / 498.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1672, allocations: 3.938 kB / 498.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of Templates: time 0.004193/0.1714, allocations: 2.029 MB / 0.4886 GB, free: 0.5156 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches