Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001171/0.001171, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001538/0.001538, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 1.004/1.004, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.151/0.151, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.165e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002061/0.002093, allocations: 1.629 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.002775, allocations: 0.5258 MB / 379.4 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.002847, allocations: 7.938 kB / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.003099, allocations: 23.84 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.003415, allocations: 83.56 kB / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.003712, allocations: 107.7 kB / 379.7 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003867, allocations: 71.7 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.003963, allocations: 15.84 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.004019, allocations: 27.92 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.004075, allocations: 15.97 kB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.004088, allocations: 8 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.004152, allocations: 35.92 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.004191, allocations: 11.94 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.004213, allocations: 7.938 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004341, allocations: 75.72 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004343, allocations: 0 / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004344, allocations: 0 / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004349, allocations: 3.938 kB / 379.9 MB, free: 22.94 MB / 314.7 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.0002996/0.004648, allocations: 408.2 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.004683, allocations: 11.98 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.004713, allocations: 12.89 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.004805, allocations: 148.4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004813, allocations: 384 / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004831, allocations: 4.375 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.004903, allocations: 50.95 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004911, allocations: 4.172 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.004918, allocations: 4.125 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004922, allocations: 4 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.004945, allocations: 11.92 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.005135, allocations: 248.5 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.005256, allocations: 43.05 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.005272, allocations: 11.69 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005285, allocations: 3.938 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.0053, allocations: 37.33 kB / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005301, allocations: 0 / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002483/0.005549, allocations: 93.53 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.005571, allocations: 55.41 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.005639, allocations: 200.4 kB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.005645, allocations: 25.7 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.005677, allocations: 146.8 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.005693, allocations: 15.86 kB / 381.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.005717, allocations: 23.38 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.005776, allocations: 0.4923 MB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-06/0.005785, allocations: 4 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.005798, allocations: 7.984 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.005825, allocations: 19.69 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.005825, allocations: 0 / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.518e-05/0.00588, allocations: 65.52 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005891, allocations: 4 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005896, allocations: 0 / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.005903, allocations: 0 / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.494e-05/0.005938, allocations: 16.25 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.005941, allocations: 3.938 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.005958, allocations: 7.984 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.005962, allocations: 4 kB / 382.1 MB, free: 20.59 MB / 314.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 (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 4.19e-05/0.006004, allocations: 160.6 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.006023, allocations: 11.89 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.0061, allocations: 70.02 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006101, allocations: 4 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006103, allocations: 0 / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006105, allocations: 0 / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.006264, allocations: 298 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.006265, allocations: 0 / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.006289, allocations: 15.92 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.00629, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.006294, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006295, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006296, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.006371, allocations: 207.8 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006378, allocations: 7.938 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006388, allocations: 0 / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.006417, allocations: 12 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.00644, allocations: 3.984 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.006443, allocations: 4 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.037e-05/0.006473, allocations: 135.2 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006473, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.006626, allocations: 19.98 kB / 383 MB, free: 19.59 MB / 314.7 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.0007523/0.007378, allocations: 395.5 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.00745, allocations: 27.69 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.007451, allocations: 0 / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.007469, allocations: 19.67 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.007654, allocations: 30.69 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.007877, allocations: 172.5 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.372e-05/0.0079, allocations: 67.2 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.007925, allocations: 7.984 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.007963, allocations: 78.2 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007964, allocations: 0 / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of Templates: time 0.002678/0.01064, allocations: 1.288 MB / 385.1 MB, free: 17.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.1484797741286457]