Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001019/0.001019, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001121/0.001121, allocations: 167.9 kB / 24.91 MB, free: 8.695 MB / 18.57 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.9402/0.9402, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.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.2493/0.2493, allocations: 32.81 MB / 294.6 MB, free: 1.27 MB / 266.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.534e-05, allocations: 4.844 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.005383/0.005398, allocations: 1.678 MB / 324.9 MB, free: 8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.0063, allocations: 0.5452 MB / 325.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.006357, allocations: 0 / 325.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.006637, allocations: 103.5 kB / 325.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.006936, allocations: 107.6 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.007183, allocations: 103.6 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.007344, allocations: 95.75 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.01043, allocations: 20.53 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.01052, allocations: 51.89 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.01062, allocations: 55.86 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.01063, allocations: 4 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.01072, allocations: 51.91 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.01076, allocations: 23.88 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.01079, allocations: 23.91 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.01095, allocations: 111.5 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01095, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01095, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.01095, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003334/0.01128, allocations: 337.3 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.01131, allocations: 8.031 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.01135, allocations: 12.92 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.01149, allocations: 153.5 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.0115, allocations: 384 / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.01152, allocations: 8.375 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.01162, allocations: 67.8 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.01163, allocations: 12.19 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.01164, allocations: 4.125 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01165, allocations: 0 / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.01168, allocations: 19.98 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.01192, allocations: 194.9 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.01198, allocations: 38.56 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.012, allocations: 16.84 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.01202, allocations: 7.938 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.01204, allocations: 30.56 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.01204, allocations: 4 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004975/0.01254, allocations: 205.5 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.01257, allocations: 51.41 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.0127, allocations: 193.1 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.01271, allocations: 25.7 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.01275, allocations: 100.1 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.01278, allocations: 47.53 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.01283, allocations: 29.7 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.01292, allocations: 334.7 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.01294, allocations: 15.98 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.01296, allocations: 8 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.01301, allocations: 46.02 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01301, allocations: 0 / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.819e-05/0.0131, allocations: 74.53 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01311, allocations: 4 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.01311, allocations: 0 / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01312, allocations: 0 / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.01321, allocations: 27.98 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.01321, allocations: 3.938 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.01324, allocations: 8 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003019/0.01626, allocations: 0 / 328.3 MB, free: 4.504 MB / 298.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 (13): * Single equations (assignments): 13 * 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.596e-05/0.01632, allocations: 120.6 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01635, allocations: 15.97 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.01649, allocations: 98.8 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01649, allocations: 8 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01649, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.0165, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.0168, allocations: 300.2 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0168, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.01686, allocations: 23.98 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01686, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.01687, allocations: 4 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01687, allocations: 4 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01687, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01698, allocations: 184.2 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.01699, allocations: 15.89 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.01701, allocations: 4 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.01706, allocations: 3.984 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.01708, allocations: 19.95 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01709, allocations: 4 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.01714, allocations: 61.55 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01715, allocations: 0 / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01736, allocations: 27.94 kB / 329.1 MB, free: 3.562 MB / 298.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 (13): * Single equations (assignments): 13 * 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.001485/0.01885, allocations: 0.5777 MB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.01894, allocations: 48.77 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.01894, allocations: 0 / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.01898, allocations: 36.78 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.02217, allocations: 15.98 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.02252, allocations: 266.5 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.02257, allocations: 75.28 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.02262, allocations: 24.47 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.02268, allocations: 71.36 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02268, allocations: 0 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of Templates: time 0.007157/0.02984, allocations: 1.687 MB / 331.9 MB, free: 1.035 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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: 2.9531025560572743]