Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001815, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006399/0.0006399, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001608, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.895/0.895, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1511/1.046, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1719/0.1719, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01969/0.1915, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.206e-05, allocations: 6.25 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003088/0.00311, allocations: 1.667 MB / 287.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.003898, allocations: 430.9 kB / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.003971, allocations: 0 / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.004268, allocations: 115.5 kB / 288.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.004439, allocations: 71.78 kB / 288.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.00478, allocations: 119.5 kB / 288.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.004978, allocations: 87.75 kB / 288.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005084, allocations: 12.17 kB / 288.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.005218, allocations: 63.88 kB / 288.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005336, allocations: 59.88 kB / 288.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.005355, allocations: 7.938 kB / 288.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.005461, allocations: 43.92 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.005514, allocations: 19.92 kB / 288.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.005544, allocations: 15.94 kB / 288.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.005729, allocations: 87.56 kB / 288.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.005743, allocations: 4 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005745, allocations: 0 / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.005756, allocations: 0 / 288.7 MB, free: 5.586 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.000481/0.006237, allocations: 327.9 kB / 289 MB, free: 5.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.006273, allocations: 12.03 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.006315, allocations: 12.94 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006484, allocations: 146.1 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006494, allocations: 384 / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.006522, allocations: 8.375 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.006648, allocations: 58.88 kB / 289.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006658, allocations: 192 / 289.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.006667, allocations: 3.938 kB / 289.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006674, allocations: 0 / 289.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.006705, allocations: 19.98 kB / 289.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.006978, allocations: 171.1 kB / 289.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.007048, allocations: 49.33 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.007066, allocations: 4.859 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.007087, allocations: 4 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.00711, allocations: 34.5 kB / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.007111, allocations: 0 / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.007681, allocations: 145.9 kB / 289.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.007712, allocations: 51.41 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.007878, allocations: 196.2 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.007889, allocations: 25.7 kB / 289.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.007931, allocations: 100.1 kB / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.007961, allocations: 27.73 kB / 290 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.008001, allocations: 21.72 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.008094, allocations: 330.8 kB / 290.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.008113, allocations: 4 kB / 290.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.008131, allocations: 11.92 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.008177, allocations: 31.66 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.00818, allocations: 3.938 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.907e-05/0.008269, allocations: 57.67 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.008284, allocations: 11.98 kB / 290.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008289, allocations: 0 / 290.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.008302, allocations: 0 / 290.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.00839, allocations: 19.94 kB / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.008393, allocations: 0 / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.008423, allocations: 11.98 kB / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.008429, allocations: 0 / 290.5 MB, free: 3.559 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.716e-05/0.008497, allocations: 112.6 kB / 290.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.008529, allocations: 15.98 kB / 290.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.008723, allocations: 75.38 kB / 290.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008726, allocations: 4 kB / 290.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008729, allocations: 4 kB / 290.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008732, allocations: 0 / 290.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.00907, allocations: 259.4 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009073, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.009139, allocations: 19.94 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.009153, allocations: 11.91 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.009158, allocations: 3.984 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.009167, allocations: 4 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.009171, allocations: 4 kB / 291 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.009175, allocations: 8.031 kB / 291 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.0093, allocations: 164.2 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009315, allocations: 0 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.009379, allocations: 8 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.009413, allocations: 3.984 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.00942, allocations: 4 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.009489, allocations: 56.7 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009489, allocations: 0 / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.009734, allocations: 20 kB / 291.3 MB, free: 2.734 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.001677/0.01141, allocations: 0.6243 MB / 291.9 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.126e-05/0.0115, allocations: 32.83 kB / 291.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.01151, allocations: 7.938 kB / 292 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.01154, allocations: 32.78 kB / 292 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.01175, allocations: 82.98 kB / 292.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.01221, allocations: 254.9 kB / 292.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01226, allocations: 67.33 kB / 292.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.0123, allocations: 16.7 kB / 292.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.01235, allocations: 63.47 kB / 292.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01235, allocations: 0 / 292.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of Templates: time 0.003143/0.01549, allocations: 1.516 MB / 294 MB, free: 324 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7654928220435977]