Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.00186/0.00186, allocations: 119.5 kB / 20.33 MB, free: 1.566 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.002318/0.002318, allocations: 202.5 kB / 23.6 MB, free: 4.953 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.5/1.5, allocations: 230.5 MB / 257.2 MB, free: 8.066 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.234/0.234, allocations: 44.9 MB / 358.6 MB, free: 6.34 MB / 286.1 MB " [Timeout remaining time 179] 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [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.002057/0.002057, allocations: 59.91 kB / 0.4932 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3883, allocations: 65.47 MB / 0.5571 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003589/0.3919, allocations: 1.682 MB / 0.5588 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3943, allocations: 1.298 MB / 0.5601 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.3944, allocations: 4 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3947, allocations: 27.84 kB / 0.5601 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.395, allocations: 83.61 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.3955, allocations: 178.9 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3957, allocations: 83.7 kB / 0.5604 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3958, allocations: 11.98 kB / 0.5604 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.3959, allocations: 35.86 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.396, allocations: 35.83 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.396, allocations: 8 kB / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3962, allocations: 99.81 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.3963, allocations: 19.92 kB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3963, allocations: 31.81 kB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.3966, allocations: 149.8 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3966, allocations: 0 / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3966, allocations: 4 kB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3966, allocations: 0 / 0.5608 GB, free: 4.023 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.0006619/0.3973, allocations: 337.6 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3973, allocations: 12.03 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.3974, allocations: 8.891 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3977, allocations: 134.4 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3977, allocations: 12.38 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.3977, allocations: 384 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.398, allocations: 105.2 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.398, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.398, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3981, allocations: 4 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3982, allocations: 39.91 kB / 0.5614 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.3988, allocations: 287.8 kB / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3989, allocations: 42.56 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.399, allocations: 24.94 kB / 0.5618 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3991, allocations: 3.938 kB / 0.5618 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3991, allocations: 42.55 kB / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3991, allocations: 0 / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009506/0.4001, allocations: 225.6 kB / 0.562 GB, free: 2.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.4001, allocations: 85.11 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.4003, allocations: 160 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4004, allocations: 25.7 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.4004, allocations: 96.09 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4005, allocations: 23.78 kB / 0.5624 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.4005, allocations: 17.72 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4007, allocations: 322.8 kB / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4009, allocations: 39.97 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.401, allocations: 79.38 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.4013, allocations: 88.8 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4013, allocations: 0 / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003359/0.4016, allocations: 133.5 kB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4016, allocations: 4 kB / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4016, allocations: 0 / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4017, allocations: 0 / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4018, allocations: 23.97 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4018, allocations: 0 / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.4019, allocations: 23.86 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.4019, allocations: 4 kB / 0.5631 GB, free: 1.453 MB / 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 (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.0001177/0.402, allocations: 117.8 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.4021, allocations: 7.953 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.4025, allocations: 150.5 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4025, allocations: 0 / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4025, allocations: 0 / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4025, allocations: 7.938 kB / 0.5634 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.4031, allocations: 381.5 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4031, allocations: 3.938 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.4032, allocations: 27.92 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4032, allocations: 0 / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4032, allocations: 3.938 kB / 0.5638 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4032, allocations: 8 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4032, allocations: 0 / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.4037, allocations: 215.4 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.4037, allocations: 7.938 kB / 0.564 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4037, allocations: 7.938 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4038, allocations: 15.98 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.4039, allocations: 4 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4039, allocations: 0 / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.404, allocations: 119.2 kB / 0.5641 GB, free: 316 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.404, allocations: 0 / 0.5641 GB, free: 316 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.4043, allocations: 43.86 kB / 0.5642 GB, free: 272 kB / 398.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.001754/0.4061, allocations: 498.3 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4064, allocations: 91.88 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4064, allocations: 0 / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4065, allocations: 51.89 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4069, allocations: 17.25 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4075, allocations: 221.8 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.4076, allocations: 91.67 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.547e-05/0.4077, allocations: 20.64 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4078, allocations: 19.42 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4078, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005536/0.4133, allocations: 1.966 MB / 0.567 GB, free: 13.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.353027177974582]