Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001434/0.001434, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001074/0.001074, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2456/0.2456, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.356e-05, allocations: 12.64 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003174/0.003198, allocations: 1.694 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005003, allocations: 1.305 MB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.005075, allocations: 4 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.005311, allocations: 19.8 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.005601, allocations: 83.55 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.005906, allocations: 115.6 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.006082, allocations: 79.81 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.006187, allocations: 11.94 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.006271, allocations: 47.83 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006373, allocations: 35.84 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.006391, allocations: 4 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.006586, allocations: 95.88 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.006634, allocations: 19.91 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.006666, allocations: 20.56 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.006907, allocations: 143.5 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006909, allocations: 0 / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00691, allocations: 0 / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.006914, allocations: 0 / 327 MB, free: 5.934 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003988/0.007312, allocations: 309.5 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.007347, allocations: 8.031 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.007385, allocations: 12.94 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.007558, allocations: 137.6 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.007573, allocations: 8.297 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.007596, allocations: 8.375 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.007739, allocations: 98.36 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007749, allocations: 192 / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.007759, allocations: 8.125 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007765, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.007801, allocations: 15.92 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.008102, allocations: 183.1 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.008169, allocations: 38.55 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.008189, allocations: 8.859 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.008211, allocations: 12.16 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.008236, allocations: 38.48 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.008237, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003677/0.008605, allocations: 105.5 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.008649, allocations: 85.09 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.008781, allocations: 144.3 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008796, allocations: 29.64 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.008839, allocations: 88.14 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.008871, allocations: 35.72 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.008913, allocations: 21.72 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.009013, allocations: 318.8 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.009035, allocations: 8 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.009082, allocations: 51.39 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.009136, allocations: 27.67 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009137, allocations: 3.938 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001117/0.009248, allocations: 61.59 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.009261, allocations: 6.344 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009265, allocations: 0 / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.009279, allocations: 8.031 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.009365, allocations: 19.98 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.009368, allocations: 384 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.009402, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.009409, allocations: 0 / 328.8 MB, free: 3.879 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 (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 8.199e-05/0.009491, allocations: 120.6 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.00953, allocations: 15.92 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.009672, allocations: 74.69 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009674, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.009675, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.009681, allocations: 7.984 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.01003, allocations: 242.6 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01003, allocations: 0 / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.01009, allocations: 12 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0101, allocations: 0 / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.0101, allocations: 3.984 kB / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01011, allocations: 0 / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01011, allocations: 4 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.01023, allocations: 159.4 kB / 329.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.01025, allocations: 11.94 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.01026, allocations: 7.938 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.01033, allocations: 4 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.01036, allocations: 7.984 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01037, allocations: 4 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.01041, allocations: 31.66 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01041, allocations: 0 / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01068, allocations: 43.86 kB / 329.6 MB, free: 3.082 MB / 298.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 (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.001855/0.01253, allocations: 0.6227 MB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.01265, allocations: 36.78 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01265, allocations: 4 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.01269, allocations: 20.84 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01291, allocations: 23.92 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.01336, allocations: 182.8 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.817e-05/0.01341, allocations: 71.33 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.01347, allocations: 21.02 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.01356, allocations: 71.23 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01356, allocations: 4 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of Templates: time 0.004968/0.01853, allocations: 2.114 MB / 332.7 MB, free: 200 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.8910768115893006]