Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.91 MB / 359.6 MB, free: 6.367 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003252/0.3517, allocations: 1.629 MB / 0.5598 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3528, allocations: 0.5494 MB / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.3528, allocations: 0 / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.3534, allocations: 455.1 kB / 0.5608 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.3539, allocations: 295.3 kB / 0.5611 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3543, allocations: 127.6 kB / 0.5612 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3545, allocations: 163.6 kB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3546, allocations: 12.19 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3547, allocations: 115.7 kB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.355, allocations: 243.5 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.355, allocations: 0 / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.801e-05/0.3551, allocations: 23.94 kB / 0.5618 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3552, allocations: 83.69 kB / 0.5618 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3553, allocations: 98.98 kB / 0.5619 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.3557, allocations: 253 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3557, allocations: 0 / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3557, allocations: 0 / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3557, allocations: 0 / 0.5622 GB, free: 3.684 MB / 398.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.0007721/0.3565, allocations: 0.5738 MB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3565, allocations: 8.031 kB / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.3566, allocations: 48.59 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3569, allocations: 238.8 kB / 0.563 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3569, allocations: 384 / 0.563 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3569, allocations: 8.375 kB / 0.563 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3571, allocations: 54.59 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3571, allocations: 0 / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3571, allocations: 4 kB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3571, allocations: 0 / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.3572, allocations: 19.98 kB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.3577, allocations: 347.8 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.3578, allocations: 34.56 kB / 0.5635 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.3578, allocations: 20.86 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3579, allocations: 0 / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3579, allocations: 30.56 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3579, allocations: 0 / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002803/0.3582, allocations: 101.3 kB / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3582, allocations: 55.53 kB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.3592, allocations: 0.8653 MB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3592, allocations: 25.7 kB / 0.5645 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3594, allocations: 224.1 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3594, allocations: 11.88 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3594, allocations: 13.72 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3596, allocations: 362.7 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.3597, allocations: 11.98 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.3597, allocations: 8 kB / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.3598, allocations: 24.84 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3598, allocations: 0 / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/0.3599, allocations: 93.34 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.36, allocations: 11.98 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.36, allocations: 0 / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.36, allocations: 8.031 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.3601, allocations: 7.984 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3601, allocations: 3.984 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.3601, allocations: 8 kB / 0.5653 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3601, allocations: 0 / 0.5653 GB, free: 312 kB / 398.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 (2): * Single equations (assignments): 2 * 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.0002136/0.3603, allocations: 213.7 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.3604, allocations: 39.72 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3606, allocations: 112.7 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3606, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3606, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3606, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.361, allocations: 256.6 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.361, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.361, allocations: 7.984 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.361, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.361, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.361, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.361, allocations: 3.938 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3612, allocations: 199.2 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3613, allocations: 35.69 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3613, allocations: 0 / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3614, allocations: 4 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.3614, allocations: 0 / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3614, allocations: 0 / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000703/0.3621, allocations: 0.6629 MB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3624, allocations: 19.89 kB / 0.5668 GB, free: 14.69 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001394/0.3638, allocations: 355.8 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3639, allocations: 19.98 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3639, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.364, allocations: 8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3644, allocations: 26.3 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3655, allocations: 0.8158 MB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.3659, allocations: 0.8182 MB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.366, allocations: 15.42 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.366, allocations: 0 / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Templates: time 0.006817/0.3728, allocations: 3.475 MB / 0.5722 GB, free: 9.227 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8741831260267645]