Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001779/0.001779, 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.002148/0.002148, 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2277/0.2277, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [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.001992/0.001992, allocations: 67.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3713, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003196/0.3745, allocations: 1.707 MB / 0.5599 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3756, allocations: 0.5894 MB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.3757, allocations: 3.938 kB / 0.5605 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3759, allocations: 67.78 kB / 0.5606 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.3762, allocations: 95.59 kB / 0.5607 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.3766, allocations: 187 kB / 0.5608 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3767, allocations: 99.67 kB / 0.5609 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3768, allocations: 12.23 kB / 0.561 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.3769, allocations: 39.83 kB / 0.561 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.377, allocations: 55.77 kB / 0.561 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.377, allocations: 7.938 kB / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3771, allocations: 55.97 kB / 0.5611 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.3772, allocations: 23.92 kB / 0.5611 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3772, allocations: 35.73 kB / 0.5612 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3774, allocations: 106 kB / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3774, allocations: 0 / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3774, allocations: 8 kB / 0.5613 GB, free: 4.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3774, allocations: 0 / 0.5613 GB, free: 4.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004862/0.3779, allocations: 345.6 kB / 0.5616 GB, free: 4.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.3779, allocations: 8.031 kB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.378, allocations: 12.84 kB / 0.5616 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3781, allocations: 150.3 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3782, allocations: 8.312 kB / 0.5618 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3782, allocations: 4.375 kB / 0.5618 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3783, allocations: 69.73 kB / 0.5618 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3784, allocations: 12 kB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3784, allocations: 0 / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3784, allocations: 3.984 kB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3785, allocations: 39.97 kB / 0.5619 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.379, allocations: 295.7 kB / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3792, allocations: 62.53 kB / 0.5622 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.3793, allocations: 24.97 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3793, allocations: 0 / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3793, allocations: 38.56 kB / 0.5623 GB, free: 3.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3793, allocations: 0 / 0.5623 GB, free: 3.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001432/0.3807, allocations: 429 kB / 0.5627 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3808, allocations: 55.34 kB / 0.5628 GB, free: 2.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.381, allocations: 186.2 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.381, allocations: 29.7 kB / 0.563 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.3811, allocations: 100.1 kB / 0.5631 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.3811, allocations: 43.64 kB / 0.5631 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3812, allocations: 25.72 kB / 0.5631 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3813, allocations: 326.8 kB / 0.5634 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3815, allocations: 55.89 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3816, allocations: 59.95 kB / 0.5635 GB, free: 2.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.3819, allocations: 124.8 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3819, allocations: 0 / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003588/0.3823, allocations: 161.8 kB / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3823, allocations: 8 kB / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3823, allocations: 0 / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3823, allocations: 0 / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3824, allocations: 40.47 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3824, allocations: 0 / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.3825, allocations: 11.98 kB / 0.5639 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3825, allocations: 0 / 0.5639 GB, free: 1.746 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 (11): * Single equations (assignments): 11 * 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.0001052/0.3826, allocations: 129.8 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.3826, allocations: 15.91 kB / 0.564 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.3831, allocations: 198.3 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3831, allocations: 3.938 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3831, allocations: 0 / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3831, allocations: 3.984 kB / 0.5642 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.3838, allocations: 482.9 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3839, allocations: 7.938 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.384, allocations: 27.98 kB / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.384, allocations: 0 / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.384, allocations: 4 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.384, allocations: 0 / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.384, allocations: 0 / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.3844, allocations: 273.1 kB / 0.565 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3844, allocations: 11.91 kB / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3844, allocations: 11.98 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.3845, allocations: 4 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3846, allocations: 11.98 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3846, allocations: 7.984 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3847, allocations: 148.1 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3847, allocations: 0 / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.385, allocations: 28.08 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001697/0.3867, allocations: 467.1 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.387, allocations: 123.8 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.387, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3872, allocations: 72.02 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3875, allocations: 25.59 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.3882, allocations: 329.9 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3886, allocations: 0.7158 MB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.3886, allocations: 19.42 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3886, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004146/0.3928, allocations: 2.072 MB / 0.5689 GB, free: 12.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.956668075872585]