Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001781/0.001781, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002476/0.002476, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.709/1.709, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.227/0.227, allocations: 44.93 MB / 358.8 MB, free: 6.07 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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [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.002103/0.002103, allocations: 67.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 65.46 MB / 0.5575 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003062/0.3531, allocations: 1.598 MB / 0.559 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3551, allocations: 1.236 MB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.3551, allocations: 0 / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3554, allocations: 31.78 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3557, allocations: 83.62 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.356, allocations: 123.3 kB / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.3561, allocations: 71.77 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.3562, allocations: 11.98 kB / 0.5605 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.3563, allocations: 19.94 kB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3564, allocations: 34.36 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3564, allocations: 4 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3566, allocations: 95.88 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.3566, allocations: 11.94 kB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3567, allocations: 23.86 kB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3569, allocations: 141.9 kB / 0.5609 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3569, allocations: 3.938 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3569, allocations: 0 / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3569, allocations: 0 / 0.5609 GB, free: 3.871 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.0005219/0.3574, allocations: 325.7 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3575, allocations: 12.02 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3575, allocations: 12.89 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3577, allocations: 126.4 kB / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3577, allocations: 4.375 kB / 0.5613 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3578, allocations: 384 / 0.5613 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3579, allocations: 101.2 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3579, allocations: 4 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.358, allocations: 0 / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.358, allocations: 0 / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3581, allocations: 23.97 kB / 0.5614 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.3585, allocations: 228.5 kB / 0.5617 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3587, allocations: 50.5 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3587, allocations: 12.94 kB / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3588, allocations: 4 kB / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3588, allocations: 34.56 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3588, allocations: 0 / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006268/0.3594, allocations: 153.4 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3595, allocations: 77.11 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3596, allocations: 152 kB / 0.5621 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3597, allocations: 29.7 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.3597, allocations: 96.08 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3598, allocations: 23.78 kB / 0.5623 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3598, allocations: 17.72 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.36, allocations: 322.8 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.36, allocations: 24.05 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.3601, allocations: 63.41 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3603, allocations: 52.77 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3603, allocations: 0 / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.3605, allocations: 97.58 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3605, allocations: 4 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3605, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3605, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.3606, allocations: 15.98 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3606, allocations: 0 / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3606, allocations: 4 kB / 0.5628 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3606, allocations: 3.984 kB / 0.5628 GB, free: 1.637 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 (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.0001057/0.3608, allocations: 121.8 kB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3608, allocations: 7.953 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.3611, allocations: 102 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3611, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3611, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3611, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3615, allocations: 298.5 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3615, allocations: 0 / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.3616, allocations: 23.94 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3616, allocations: 3.984 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.3616, allocations: 0 / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3616, allocations: 0 / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3616, allocations: 3.984 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3618, allocations: 187.7 kB / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.3619, allocations: 7.953 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.3619, allocations: 0 / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.362, allocations: 7.984 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.362, allocations: 15.92 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.362, allocations: 0 / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3621, allocations: 121.2 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3621, allocations: 0 / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3624, allocations: 35.88 kB / 0.5637 GB, free: 0.6406 MB / 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 (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.001928/0.3643, allocations: 0.5245 MB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.3646, allocations: 51.95 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3646, allocations: 3.938 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.3646, allocations: 27.98 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.365, allocations: 19.92 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.3655, allocations: 165.6 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3657, allocations: 84.64 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.3658, allocations: 24 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3658, allocations: 19.42 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3658, allocations: 0 / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Templates: time 0.00531/0.3711, allocations: 1.826 MB / 0.5664 GB, free: 14.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.430120203644037]