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.001328/0.001328, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.00148/0.00148, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2268/0.2268, allocations: 44.94 MB / 359.6 MB, free: 6.074 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.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.00228/0.00228, allocations: 67.84 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.348, allocations: 65.47 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003418/0.3514, allocations: 1.656 MB / 0.5598 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3536, allocations: 1.267 MB / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.3537, allocations: 0 / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.354, allocations: 31.8 kB / 0.5611 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.3543, allocations: 87.55 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3547, allocations: 179.3 kB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3549, allocations: 83.75 kB / 0.5614 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.355, allocations: 4 kB / 0.5614 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.3551, allocations: 31.86 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3552, allocations: 35.83 kB / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3552, allocations: 4 kB / 0.5615 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3554, allocations: 95.88 kB / 0.5616 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3555, allocations: 23.92 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.3555, allocations: 15.88 kB / 0.5616 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.3558, allocations: 161.8 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3558, allocations: 0 / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3558, allocations: 0 / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3558, allocations: 0 / 0.5618 GB, free: 3.812 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.0005902/0.3564, allocations: 341.5 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3565, allocations: 12.03 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3565, allocations: 12.88 kB / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3567, allocations: 136.9 kB / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3567, allocations: 4.375 kB / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3568, allocations: 384 / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.357, allocations: 113.1 kB / 0.5624 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.357, allocations: 3.938 kB / 0.5624 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.357, allocations: 4 kB / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.357, allocations: 4 kB / 0.5624 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3572, allocations: 31.97 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3576, allocations: 248.4 kB / 0.5626 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3578, allocations: 50.55 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.3579, allocations: 36.86 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3579, allocations: 0 / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3579, allocations: 30.56 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3579, allocations: 0 / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008501/0.3588, allocations: 241.3 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3588, allocations: 77.11 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.359, allocations: 145.6 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.359, allocations: 25.7 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.3591, allocations: 100.1 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3591, allocations: 23.8 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3592, allocations: 25.7 kB / 0.5634 GB, free: 2.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3594, allocations: 318.8 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3595, allocations: 43.95 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3596, allocations: 79.39 kB / 0.5638 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3599, allocations: 84.78 kB / 0.5639 GB, free: 1.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3599, allocations: 3.938 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000316/0.3602, allocations: 133.5 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3602, allocations: 4 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3602, allocations: 4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3602, allocations: 0 / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3604, allocations: 19.97 kB / 0.564 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3604, allocations: 4.312 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.3604, allocations: 7.984 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3604, allocations: 11.94 kB / 0.5641 GB, free: 1.277 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.0001134/0.3606, allocations: 117.8 kB / 0.5642 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3606, allocations: 11.95 kB / 0.5642 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.361, allocations: 142.2 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.361, allocations: 4 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.361, allocations: 0 / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.361, allocations: 0 / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.3616, allocations: 358 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3616, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.3617, allocations: 19.98 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3617, allocations: 0 / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3617, allocations: 7.984 kB / 0.5647 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3617, allocations: 3.938 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3617, allocations: 3.938 kB / 0.5647 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.362, allocations: 215.4 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.362, allocations: 15.95 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3621, allocations: 0 / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.3622, allocations: 11.98 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.3622, allocations: 11.86 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3622, allocations: 4 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.3623, allocations: 113.8 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3623, allocations: 0 / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3626, allocations: 47.8 kB / 0.5651 GB, free: 140 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.001923/0.3645, allocations: 0.5266 MB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3649, allocations: 87.92 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3649, allocations: 4 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.365, allocations: 43.91 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3654, allocations: 20.61 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.366, allocations: 247.5 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.3661, allocations: 79.33 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.3661, allocations: 19.42 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3661, allocations: 0 / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Templates: time 0.004957/0.3711, allocations: 2.214 MB / 0.5682 GB, free: 13.07 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/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: 7.891370157711208]