Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001245/0.001245, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002514, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007251/0.0007251, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008573/0.001582, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9848/0.9848, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09957/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.3296/0.3296, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0323/0.3619, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.725e-05, allocations: 5.109 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002591/0.002618, allocations: 1.691 MB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.00354, allocations: 0.5571 MB / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.003604, allocations: 2.844 kB / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.003822, allocations: 75.83 kB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.004058, allocations: 111.2 kB / 293.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.004304, allocations: 88.2 kB / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.004491, allocations: 85.77 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004602, allocations: 23.02 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.00472, allocations: 55.7 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.004825, allocations: 51.89 kB / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.00484, allocations: 0 / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.004934, allocations: 43.92 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.004985, allocations: 19.92 kB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.005022, allocations: 11.94 kB / 293.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.005196, allocations: 95.55 kB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-05/0.005219, allocations: 4 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00522, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.005241, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 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.0004929/0.005733, allocations: 324.6 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005772, allocations: 12.03 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.005809, allocations: 8.938 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005979, allocations: 146.3 kB / 294 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.005996, allocations: 4.312 kB / 294 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.006019, allocations: 4.375 kB / 294 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006133, allocations: 58.94 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006142, allocations: 192 / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.006152, allocations: 4.125 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006159, allocations: 4 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.006188, allocations: 7.984 kB / 294.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.006437, allocations: 171.1 kB / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.006497, allocations: 30.56 kB / 294.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.006513, allocations: 8.859 kB / 294.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.00654, allocations: 0 / 294.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.006568, allocations: 42.44 kB / 294.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.006569, allocations: 0 / 294.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000493/0.007062, allocations: 141.9 kB / 294.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.007102, allocations: 59.34 kB / 294.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.007229, allocations: 180.8 kB / 294.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007242, allocations: 33.7 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.007286, allocations: 100.8 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.007316, allocations: 27.75 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.007347, allocations: 21.7 kB / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.007439, allocations: 326.8 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.007453, allocations: 4 kB / 295.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.007465, allocations: 8 kB / 295.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.007504, allocations: 33.05 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007506, allocations: 0 / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.987e-05/0.007566, allocations: 57.7 kB / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.00758, allocations: 7.938 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007586, allocations: 8 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007597, allocations: 3.984 kB / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.007672, allocations: 15.98 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007675, allocations: 0 / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.007695, allocations: 8 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.007701, allocations: 4 kB / 295.4 MB, free: 3.359 MB / 282.7 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 (8): * Single equations (assignments): 8 * 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 6.589e-05/0.007767, allocations: 116.7 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.007782, allocations: 7.938 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.007895, allocations: 75.06 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007897, allocations: 8 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007899, allocations: 0 / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007902, allocations: 0 / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.008139, allocations: 247.5 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008139, allocations: 0 / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.008181, allocations: 19.98 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.008192, allocations: 19.84 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008194, allocations: 0 / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.0082, allocations: 4 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.008203, allocations: 4 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008204, allocations: 4.031 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.008295, allocations: 164.2 kB / 296 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008308, allocations: 3.984 kB / 296 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.008342, allocations: 8 kB / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.008372, allocations: 3.984 kB / 296 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.008375, allocations: 4 kB / 296 MB, free: 2.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.008417, allocations: 51.66 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008417, allocations: 0 / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.008553, allocations: 27.92 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0015/0.01005, allocations: 0.6181 MB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.01015, allocations: 40.72 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01016, allocations: 4 kB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.01019, allocations: 28.78 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01037, allocations: 23.55 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.01086, allocations: 231.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.0109, allocations: 67.33 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.879e-05/0.01094, allocations: 17.02 kB / 297.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.01099, allocations: 59.38 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01099, allocations: 4.062 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of Templates: time 0.003431/0.01442, allocations: 1.508 MB / 298.7 MB, free: 272 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.214394360780716]