Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.001985/0.001985, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001531/0.001531, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2504/0.2504, allocations: 44.94 MB / 358.8 MB, free: 6.066 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.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") [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.002217/0.002217, allocations: 75.88 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.363, allocations: 65.47 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003591/0.3666, allocations: 1.659 MB / 0.5591 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3688, allocations: 1.236 MB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.3689, allocations: 0 / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.3691, allocations: 23.84 kB / 0.5603 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.3695, allocations: 91.55 kB / 0.5604 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.3699, allocations: 131.3 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.37, allocations: 79.69 kB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3702, allocations: 8 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.3702, allocations: 31.86 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3704, allocations: 35.83 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3704, allocations: 4 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.3706, allocations: 95.88 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.3707, allocations: 15.92 kB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.3707, allocations: 27.88 kB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.371, allocations: 141.9 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.371, allocations: 0 / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.371, allocations: 3.938 kB / 0.561 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.371, allocations: 0 / 0.561 GB, free: 3.906 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.0005891/0.3716, allocations: 337.7 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3717, allocations: 8.031 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.3717, allocations: 8.891 kB / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3719, allocations: 138.3 kB / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.372, allocations: 4.375 kB / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.372, allocations: 8.375 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3722, allocations: 105.2 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3723, allocations: 0 / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3723, allocations: 0 / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3723, allocations: 4 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3724, allocations: 35.91 kB / 0.5616 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3728, allocations: 228.5 kB / 0.5618 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.373, allocations: 46.55 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3731, allocations: 24.94 kB / 0.5619 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3731, allocations: 3.938 kB / 0.5619 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3731, allocations: 30.56 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3731, allocations: 0 / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008032/0.3739, allocations: 221.5 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.374, allocations: 85.03 kB / 0.5622 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3742, allocations: 144.8 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3742, allocations: 29.64 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.3742, allocations: 92.14 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3743, allocations: 31.73 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.3743, allocations: 21.72 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3745, allocations: 322.8 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3746, allocations: 35.97 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3747, allocations: 75.45 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.3749, allocations: 68.81 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3749, allocations: 0 / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002833/0.3752, allocations: 121.5 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3752, allocations: 8 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3752, allocations: 0 / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3753, allocations: 0 / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3754, allocations: 19.98 kB / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3754, allocations: 0 / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.3755, allocations: 7.984 kB / 0.5631 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3755, allocations: 7.938 kB / 0.5631 GB, free: 1.477 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.000104/0.3756, allocations: 117.8 kB / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.3756, allocations: 11.95 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.376, allocations: 130.3 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.376, allocations: 0 / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.376, allocations: 3.984 kB / 0.5634 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.376, allocations: 0 / 0.5634 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.3765, allocations: 338.1 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3765, allocations: 0 / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.3766, allocations: 23.97 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3766, allocations: 0 / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3766, allocations: 0 / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3766, allocations: 0 / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3766, allocations: 7.938 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.377, allocations: 203.8 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.377, allocations: 11.95 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.377, allocations: 7.984 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.3771, allocations: 8 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.3771, allocations: 7.922 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3771, allocations: 4 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3772, allocations: 119.2 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3772, allocations: 0 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.3776, allocations: 35.88 kB / 0.5641 GB, free: 400 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.002004/0.3796, allocations: 0.5288 MB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.38, allocations: 75.94 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.38, allocations: 0 / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.3801, allocations: 43.98 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3806, allocations: 24.48 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.3812, allocations: 209.8 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.3813, allocations: 87.66 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.3813, allocations: 12.3 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.3814, allocations: 23.42 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3814, allocations: 0 / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005729/0.3871, allocations: 1.961 MB / 0.567 GB, free: 13.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.2769008949398994]