Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001427/0.001427, 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.001727/0.001727, 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.566/1.566, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2299/0.2299, allocations: 44.92 MB / 359.6 MB, free: 6.301 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002069/0.002069, allocations: 67.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 65.46 MB / 0.5583 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003095/0.3689, allocations: 1.636 MB / 0.5599 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3699, allocations: 0.5728 MB / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.37, allocations: 0 / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.3706, allocations: 455.1 kB / 0.5608 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.371, allocations: 291.3 kB / 0.5611 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.3715, allocations: 174.9 kB / 0.5613 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3717, allocations: 167.6 kB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.3718, allocations: 16 kB / 0.5615 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3719, allocations: 111.7 kB / 0.5616 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.3722, allocations: 247.5 kB / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3722, allocations: 4 kB / 0.5618 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.527e-05/0.3723, allocations: 24 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-05/0.3724, allocations: 83.62 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.3725, allocations: 106.9 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3728, allocations: 257 kB / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3728, allocations: 0 / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.3728, allocations: 0 / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3728, allocations: 7.938 kB / 0.5623 GB, free: 3.609 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.0006867/0.3735, allocations: 0.5621 MB / 0.5628 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3735, allocations: 12.03 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.3736, allocations: 40.66 kB / 0.5629 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3739, allocations: 246.8 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-06/0.3739, allocations: 4.375 kB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3739, allocations: 4.375 kB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.374, allocations: 58.73 kB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.374, allocations: 0 / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.374, allocations: 0 / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.3741, allocations: 4 kB / 0.5632 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.3741, allocations: 31.97 kB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.3746, allocations: 351.8 kB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.3747, allocations: 34.5 kB / 0.5636 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.3748, allocations: 16.92 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3748, allocations: 4 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3748, allocations: 30.56 kB / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3748, allocations: 0 / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002639/0.3751, allocations: 105.4 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3751, allocations: 59.33 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.376, allocations: 0.866 MB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3761, allocations: 29.83 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3763, allocations: 228 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.3763, allocations: 3.953 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3763, allocations: 13.72 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3765, allocations: 366.7 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.3765, allocations: 4 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.3766, allocations: 19.92 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.3767, allocations: 28.91 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3767, allocations: 0 / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001548/0.3768, allocations: 97.39 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3768, allocations: 4 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3768, allocations: 3.938 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3768, allocations: 0 / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.3769, allocations: 8 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.3769, allocations: 0 / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.377, allocations: 11.97 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.377, allocations: 3.938 kB / 0.5654 GB, free: 208 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.00022/0.3772, allocations: 217.7 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.3773, allocations: 39.72 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.3775, allocations: 104.8 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3775, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3775, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3775, allocations: 4 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3778, allocations: 264.6 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3778, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.3778, allocations: 7.938 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3778, allocations: 7.984 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.3778, allocations: 3.984 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3778, allocations: 0 / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3778, allocations: 0 / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.378, allocations: 195.2 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.3781, allocations: 39.7 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3781, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3782, allocations: 4 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3782, allocations: 0 / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3782, allocations: 0 / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006819/0.3789, allocations: 0.6589 MB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3789, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.3791, allocations: 16 kB / 0.5669 GB, free: 14.58 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.001262/0.3804, allocations: 353.8 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3805, allocations: 27.92 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3805, allocations: 4.062 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.3806, allocations: 15.98 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.381, allocations: 30.23 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3821, allocations: 0.812 MB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.3826, allocations: 0.8182 MB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3826, allocations: 15.42 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3826, allocations: 0 / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.006853/0.3895, allocations: 3.53 MB / 0.5724 GB, free: 9.039 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.83914564200677]