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.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.001366/0.001366, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001866/0.001866, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2273/0.2273, allocations: 44.94 MB / 359.6 MB, free: 6.082 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.00217/0.00217, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 65.48 MB / 0.5582 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003451/0.3869, allocations: 1.64 MB / 0.5598 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3881, allocations: 0.5583 MB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.3882, allocations: 0 / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.3888, allocations: 463.1 kB / 0.5608 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.3893, allocations: 283.3 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.3898, allocations: 183.2 kB / 0.5612 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3901, allocations: 175.6 kB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3902, allocations: 15.98 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3903, allocations: 111.8 kB / 0.5615 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.3906, allocations: 247.5 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3906, allocations: 4 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3907, allocations: 39.92 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3909, allocations: 83.69 kB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.391, allocations: 71.23 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.3913, allocations: 265 kB / 0.5622 GB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3913, allocations: 0 / 0.5622 GB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3913, allocations: 0 / 0.5622 GB, free: 3.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3913, allocations: 4 kB / 0.5622 GB, free: 3.23 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.0008482/0.3922, allocations: 0.5931 MB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3922, allocations: 8.031 kB / 0.5628 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.3923, allocations: 48.61 kB / 0.5628 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3927, allocations: 238.8 kB / 0.5631 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3927, allocations: 384 / 0.5631 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3927, allocations: 4.375 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3929, allocations: 57.8 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3929, allocations: 0 / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3929, allocations: 0 / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3929, allocations: 8 kB / 0.5631 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.3931, allocations: 35.91 kB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.3936, allocations: 328.4 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3939, allocations: 50.55 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3939, allocations: 12.86 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3939, allocations: 4.078 kB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.394, allocations: 38.5 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.394, allocations: 0 / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006384/0.3946, allocations: 244.7 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3947, allocations: 55.41 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/0.3956, allocations: 0.8535 MB / 0.5647 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3956, allocations: 29.7 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3958, allocations: 216 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3958, allocations: 19.86 kB / 0.565 GB, free: 264 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3959, allocations: 17.7 kB / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.3961, allocations: 366.7 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.3962, allocations: 19.98 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3963, allocations: 19.98 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3964, allocations: 56.81 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3964, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002374/0.3966, allocations: 125.3 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3967, allocations: 14.84 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3967, allocations: 7.984 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3967, allocations: 288 / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.3968, allocations: 15.98 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3968, allocations: 0 / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.3968, allocations: 8.234 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3968, allocations: 0 / 0.5656 GB, free: 15.6 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 (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.0003171/0.3971, allocations: 213.7 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3972, allocations: 51.7 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3975, allocations: 149.1 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3975, allocations: 4 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3975, allocations: 0 / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3975, allocations: 0 / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.3981, allocations: 414.1 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3981, allocations: 0 / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.3982, allocations: 11.98 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3982, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3982, allocations: 4 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3982, allocations: 4 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3982, allocations: 7.875 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3985, allocations: 215.2 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3985, allocations: 31.72 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3986, allocations: 4 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.3986, allocations: 7.984 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3987, allocations: 7.938 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.3987, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.3994, allocations: 0.655 MB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3994, allocations: 4 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3997, allocations: 23.94 kB / 0.5673 GB, free: 13.73 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 (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.001656/0.4013, allocations: 435.9 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.4015, allocations: 51.91 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4015, allocations: 0 / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.4016, allocations: 27.97 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.402, allocations: 32.08 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4033, allocations: 0.8473 MB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.4036, allocations: 216.2 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.4036, allocations: 23.36 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4036, allocations: 0 / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.007854/0.4115, allocations: 3.908 MB / 0.5727 GB, free: 8.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 8.118932370096445]