Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009623, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001073/0.001073, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.364/1.364, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2356/0.2356, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003678, allocations: 8.844 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00237/0.1488, allocations: 1.325 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1499, allocations: 435.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.15, allocations: 4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.1506, allocations: 447.2 kB / 474.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.151, allocations: 247.5 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.1515, allocations: 161.5 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1518, allocations: 163.6 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1519, allocations: 16.17 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.152, allocations: 107.8 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1523, allocations: 195.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1523, allocations: 4 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1524, allocations: 24 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1525, allocations: 83.67 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1527, allocations: 124.7 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.153, allocations: 247.2 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.153, allocations: 4 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.153, allocations: 0 / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.153, allocations: 0 / 475.8 MB, free: 9.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007371/0.1537, allocations: 0.5872 MB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1538, allocations: 8.031 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.1539, allocations: 40.38 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1542, allocations: 296.2 kB / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1542, allocations: 384 / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1542, allocations: 12.31 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1544, allocations: 65.59 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1544, allocations: 0 / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1545, allocations: 4 kB / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1545, allocations: 0 / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1546, allocations: 31.92 kB / 476.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.1552, allocations: 400.6 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1554, allocations: 50.5 kB / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1555, allocations: 16.94 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1556, allocations: 0 / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1556, allocations: 34.56 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1556, allocations: 4 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007642/0.1564, allocations: 251.9 kB / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1564, allocations: 55.41 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.1574, allocations: 0.8613 MB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1574, allocations: 25.7 kB / 478.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1576, allocations: 224 kB / 478.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1576, allocations: 15.72 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1577, allocations: 13.72 kB / 478.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1579, allocations: 366.8 kB / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.1579, allocations: 23.98 kB / 479.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.158, allocations: 23.98 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1582, allocations: 64.83 kB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1582, allocations: 0 / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002562/0.1585, allocations: 129.1 kB / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1585, allocations: 4 kB / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1585, allocations: 0 / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1585, allocations: 0 / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.1586, allocations: 20.23 kB / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1586, allocations: 0 / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.1587, allocations: 15.94 kB / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1587, allocations: 0 / 479.4 MB, free: 5.934 MB / 350.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.0001888/0.1589, allocations: 214.3 kB / 479.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.159, allocations: 43.44 kB / 479.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.1593, allocations: 153 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1593, allocations: 0 / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1593, allocations: 0 / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1594, allocations: 3.938 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.16, allocations: 478.5 kB / 480.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.16, allocations: 0 / 480.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1601, allocations: 15.94 kB / 480.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1601, allocations: 0 / 480.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1601, allocations: 15.88 kB / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1601, allocations: 3.984 kB / 480.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1602, allocations: 0 / 480.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1605, allocations: 223 kB / 480.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.1606, allocations: 120.5 kB / 480.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1606, allocations: 3.938 kB / 480.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.1607, allocations: 8.281 kB / 480.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1607, allocations: 7.984 kB / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1608, allocations: 0 / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.1614, allocations: 0.6511 MB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1614, allocations: 0 / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1617, allocations: 27.98 kB / 481.3 MB, free: 3.883 MB / 350.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.0009838/0.1627, allocations: 402.6 kB / 481.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.163, allocations: 63.95 kB / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.163, allocations: 0 / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.1631, allocations: 31.98 kB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1635, allocations: 29.33 kB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1647, allocations: 0.8763 MB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.1652, allocations: 0.8224 MB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1652, allocations: 11.98 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1653, allocations: 19.42 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1653, allocations: 4 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Templates: time 0.006295/0.1716, allocations: 1.352 MB / 484.9 MB, free: 396 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches