Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001532/0.001532, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00121/0.00121, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2918/0.2918, allocations: 32.8 MB / 294.6 MB, free: 1.301 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.CombiTable1Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.43e-05, allocations: 2.312 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002169/0.002193, allocations: 1.665 MB / 377.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.003131, allocations: 0.5375 MB / 378.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.003188, allocations: 3.938 kB / 378.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.003464, allocations: 123.6 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.003709, allocations: 131.5 kB / 378.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.003917, allocations: 115.6 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004059, allocations: 103.8 kB / 378.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.004152, allocations: 11.97 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.004226, allocations: 59.86 kB / 378.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004333, allocations: 83.83 kB / 378.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.004347, allocations: 4 kB / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.004418, allocations: 43.92 kB / 378.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.004465, allocations: 31.86 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.004496, allocations: 19.92 kB / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.004656, allocations: 103.5 kB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004658, allocations: 4 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004658, allocations: 0 / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004663, allocations: 0 / 379 MB, free: 1.961 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.0003826/0.005045, allocations: 467.7 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.005077, allocations: 8.031 kB / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.005118, allocations: 16.84 kB / 379.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005258, allocations: 152.4 kB / 379.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005268, allocations: 4.375 kB / 379.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.005293, allocations: 4.375 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005399, allocations: 58.89 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005407, allocations: 4.188 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.005416, allocations: 4.125 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005423, allocations: 4 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.005454, allocations: 11.92 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.005743, allocations: 307.7 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.005804, allocations: 50.97 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.005827, allocations: 15.72 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.005845, allocations: 3.984 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.005862, allocations: 33.39 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005863, allocations: 0 / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.006377, allocations: 185.3 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.006408, allocations: 51.41 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.006598, allocations: 278.7 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.006608, allocations: 25.7 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.006685, allocations: 170.9 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.00671, allocations: 23.75 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.006743, allocations: 31.36 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.006864, allocations: 0.504 MB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.006889, allocations: 19.98 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.006907, allocations: 8 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.006956, allocations: 35.91 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006958, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.304e-05/0.007051, allocations: 81.5 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007064, allocations: 7.984 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007069, allocations: 7.938 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007082, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.007157, allocations: 12 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.007163, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.007184, allocations: 11.98 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.00719, allocations: 0 / 381.6 MB, free: 15.19 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 7.364e-05/0.007263, allocations: 164.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.007287, allocations: 15.91 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.007425, allocations: 91.06 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007428, allocations: 4 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007431, allocations: 3.938 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.007434, allocations: 0 / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.007735, allocations: 392.9 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.007737, allocations: 0 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.007779, allocations: 20.03 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.007782, allocations: 3.984 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.007791, allocations: 4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007792, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007794, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.007942, allocations: 243.4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.007952, allocations: 7.953 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.007966, allocations: 4 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.008003, allocations: 7.984 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.008032, allocations: 3.938 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.008038, allocations: 11.98 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.008122, allocations: 188.1 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008123, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.008288, allocations: 23.98 kB / 382.8 MB, free: 13.94 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.0009429/0.00923, allocations: 446.8 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009347, allocations: 43.61 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009348, allocations: 0 / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.009383, allocations: 35.59 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.009611, allocations: 28 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.01002, allocations: 267.1 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01007, allocations: 75.33 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.01012, allocations: 17.02 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.01015, allocations: 24.48 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01015, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003693/0.01385, allocations: 1.43 MB / 385.1 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.2185566420666873]