Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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 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 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 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: translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008938, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 184 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5249/0.5249, allocations: 43.58 MB / 315 MB, free: 8.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006404, allocations: 16 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1482, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.00227/0.1506, allocations: 1.275 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1523, allocations: 0.926 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1524, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1527, allocations: 15.92 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1529, allocations: 35.84 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1533, allocations: 83.89 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1535, allocations: 55.84 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1536, allocations: 19.97 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1536, allocations: 15.88 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1538, allocations: 27.84 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1538, allocations: 4 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.154, allocations: 47.91 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1541, allocations: 15.92 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.1541, allocations: 41.58 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1543, allocations: 87.98 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1544, allocations: 0 / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1544, allocations: 8 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1544, allocations: 0 / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005597/0.1549, allocations: 359.3 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.155, allocations: 8.031 kB / 446.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1551, allocations: 12.83 kB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1553, allocations: 188.2 kB / 446.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1553, allocations: 384 / 446.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1554, allocations: 8.375 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1556, allocations: 71.45 kB / 446.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1556, allocations: 4 kB / 446.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1556, allocations: 0 / 446.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1556, allocations: 0 / 446.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1558, allocations: 23.98 kB / 446.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1562, allocations: 284.9 kB / 447 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1565, allocations: 50.5 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.1566, allocations: 16.94 kB / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1566, allocations: 8 kB / 447.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1566, allocations: 38.56 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1566, allocations: 0 / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006518/0.1573, allocations: 161.3 kB / 447.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.1574, allocations: 81.11 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1575, allocations: 125.8 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1576, allocations: 33.7 kB / 447.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1576, allocations: 92.06 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1577, allocations: 15.81 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1577, allocations: 9.719 kB / 447.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1579, allocations: 330.8 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.158, allocations: 23.98 kB / 448 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.1581, allocations: 37.64 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1582, allocations: 64.84 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1582, allocations: 4 kB / 448.1 MB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002179/0.1584, allocations: 89.58 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1585, allocations: 4 kB / 448.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1585, allocations: 3.938 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1585, allocations: 4 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.1586, allocations: 20.2 kB / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1586, allocations: 0 / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1587, allocations: 11.98 kB / 448.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1587, allocations: 0 / 448.2 MB, free: 7.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001026/0.1588, allocations: 125.7 kB / 448.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.1588, allocations: 7.906 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1591, allocations: 105.6 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1591, allocations: 0 / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1591, allocations: 3.984 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1591, allocations: 4 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1596, allocations: 366.7 kB / 448.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1596, allocations: 4.062 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1597, allocations: 12 kB / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1597, allocations: 0 / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1597, allocations: 0 / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.1597, allocations: 11.92 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1597, allocations: 4 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.16, allocations: 187.4 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.16, allocations: 89 kB / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1601, allocations: 0 / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.1601, allocations: 15.94 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1602, allocations: 7.984 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1602, allocations: 0 / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.1603, allocations: 107.8 kB / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 0 / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1606, allocations: 23.98 kB / 449.3 MB, free: 6.703 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001028/0.1616, allocations: 441.2 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1618, allocations: 51.97 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1619, allocations: 0 / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.1619, allocations: 43.92 kB / 449.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1623, allocations: 19.67 kB / 449.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.1627, allocations: 176.7 kB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.163, allocations: 0.6965 MB / 450.7 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.1631, allocations: 23.95 kB / 450.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.1631, allocations: 15.42 kB / 450.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1631, allocations: 0 / 450.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.004267/0.1674, allocations: 1.292 MB / 452 MB, free: 3.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches