Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001363/0.001363, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001483/0.001483, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2296/0.2296, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002139/0.002139, allocations: 71.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3451, allocations: 65.48 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003331/0.3484, allocations: 1.644 MB / 0.5591 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3496, allocations: 0.566 MB / 0.5596 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.3497, allocations: 0 / 0.5596 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.3504, allocations: 455.1 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.351, allocations: 295.3 kB / 0.5603 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3515, allocations: 179.4 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.3518, allocations: 175.6 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3519, allocations: 15.97 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.352, allocations: 127.7 kB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3523, allocations: 247.5 kB / 0.5611 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3524, allocations: 4 kB / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3525, allocations: 31.98 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3526, allocations: 87.62 kB / 0.5612 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.3527, allocations: 67.25 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3531, allocations: 277 kB / 0.5615 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3531, allocations: 0 / 0.5615 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3531, allocations: 4 kB / 0.5615 GB, free: 3.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.3531, allocations: 0 / 0.5615 GB, free: 3.344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008368/0.3539, allocations: 0.5854 MB / 0.5621 GB, free: 2.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.354, allocations: 15.97 kB / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.3541, allocations: 44.61 kB / 0.5621 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3544, allocations: 246.8 kB / 0.5624 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3544, allocations: 4.375 kB / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3545, allocations: 4.359 kB / 0.5624 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3547, allocations: 69.72 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3547, allocations: 11.98 kB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3547, allocations: 0 / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3547, allocations: 0 / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.3549, allocations: 39.97 kB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.3554, allocations: 336.4 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3556, allocations: 50.48 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.3557, allocations: 28.94 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3557, allocations: 3.938 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3557, allocations: 34.56 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3557, allocations: 0 / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009438/0.3567, allocations: 316.5 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3567, allocations: 63.41 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009085/0.3576, allocations: 0.8574 MB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3576, allocations: 29.7 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3578, allocations: 216.1 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.3579, allocations: 23.86 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3579, allocations: 25.7 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3581, allocations: 362.7 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3582, allocations: 39.95 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3583, allocations: 39.97 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3586, allocations: 88.73 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3586, allocations: 0 / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003271/0.3589, allocations: 161.3 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3589, allocations: 6.188 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3589, allocations: 4 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3589, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3591, allocations: 23.98 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3591, allocations: 0 / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.3592, allocations: 11.98 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3592, allocations: 3.938 kB / 0.5651 GB, free: 15.46 MB / 414.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 (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.0002142/0.3594, allocations: 225.6 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.3594, allocations: 39.72 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.3599, allocations: 189.7 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3599, allocations: 3.984 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3599, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3599, allocations: 4 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.3606, allocations: 458 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3606, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.3607, allocations: 23.98 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3607, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3607, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3607, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3607, allocations: 3.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3611, allocations: 263.1 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.3611, allocations: 35.72 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3612, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3613, allocations: 11.98 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3613, allocations: 7.922 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3613, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000657/0.362, allocations: 0.655 MB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3623, allocations: 27.98 kB / 0.567 GB, free: 13.46 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 (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 Backend phase and start with SimCode phase: time 0.001673/0.3639, allocations: 441.2 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.3643, allocations: 87.94 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3643, allocations: 3.938 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3644, allocations: 47.94 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3649, allocations: 30.92 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3662, allocations: 0.83 MB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3665, allocations: 228.1 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.3665, allocations: 24.89 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.3666, allocations: 19.42 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3666, allocations: 0 / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Templates: time 0.005881/0.3725, allocations: 1.829 MB / 0.5704 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 5.17037295550108]