Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001919/0.001919, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002083/0.002083, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.566 MB / 186.7 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.3715/0.3715, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.983e-05, allocations: 2.312 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003229/0.003259, allocations: 1.619 MB / 376.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004429, allocations: 0.5376 MB / 377.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.00448, allocations: 3.938 kB / 377.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.004825, allocations: 111.6 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.005146, allocations: 119.5 kB / 377.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.005455, allocations: 111.7 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.005658, allocations: 99.67 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.005749, allocations: 11.94 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.005851, allocations: 51.88 kB / 377.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.005983, allocations: 71.84 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.006001, allocations: 0 / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.006107, allocations: 51.92 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.006166, allocations: 19.92 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.006207, allocations: 23.86 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.006435, allocations: 107.6 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.006438, allocations: 0 / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006439, allocations: 0 / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006444, allocations: 0 / 378.2 MB, free: 1.992 MB / 346.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.0006506/0.007095, allocations: 471.3 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.007132, allocations: 8.031 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.007191, allocations: 20.83 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.007418, allocations: 161.1 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.007432, allocations: 4.375 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.007451, allocations: 384 / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.007609, allocations: 54.23 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.007624, allocations: 4.188 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.007636, allocations: 4.125 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.00764, allocations: 0 / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.007729, allocations: 19.98 kB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.00822, allocations: 319.7 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.008337, allocations: 47.05 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.00839, allocations: 23.7 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.008421, allocations: 8 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.008454, allocations: 33.39 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.008455, allocations: 0 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008566/0.009311, allocations: 205.2 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.00936, allocations: 55.41 kB / 379.6 MB, free: 444 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.009648, allocations: 283 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.009667, allocations: 25.7 kB / 379.9 MB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.009801, allocations: 166.9 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.009842, allocations: 27.75 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.009899, allocations: 35.36 kB / 380.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.0102, allocations: 0.504 MB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.01027, allocations: 19.98 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.01033, allocations: 19.98 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.01048, allocations: 55.89 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01048, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002079/0.01068, allocations: 105.5 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.0107, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.0107, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01072, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.01081, allocations: 12 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01082, allocations: 7.984 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.01086, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01087, allocations: 4 kB / 380.9 MB, free: 15.12 MB / 362.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 0.0001294/0.011, allocations: 164.5 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.01104, allocations: 23.91 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.01131, allocations: 103 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01132, allocations: 4.422 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01133, allocations: 3.984 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01133, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.01193, allocations: 417 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01193, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.01201, allocations: 19.98 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01201, allocations: 8.016 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01202, allocations: 4 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01202, allocations: 0 / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01202, allocations: 4 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.01235, allocations: 259.4 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01237, allocations: 11.91 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01239, allocations: 3.984 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.01246, allocations: 4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.0125, allocations: 11.92 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01251, allocations: 4 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.01268, allocations: 191.2 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01268, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01294, allocations: 27.92 kB / 382.1 MB, free: 13.8 MB / 362.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.003318/0.01625, allocations: 495.7 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.01649, allocations: 59.59 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01649, allocations: 0 / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.01658, allocations: 39.61 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01693, allocations: 23.98 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.01754, allocations: 265.3 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.01767, allocations: 105.8 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.01774, allocations: 16.72 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.01778, allocations: 16.48 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01778, allocations: 0 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Templates: time 0.004925/0.02271, allocations: 1.412 MB / 384.5 MB, free: 11.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.025914569036104]