Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.0009676/0.0009676, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001015/0.001015, allocations: 169.7 kB / 24.82 MB, free: 8.918 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2611/0.2611, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.326e-05, allocations: 6.25 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001937/0.001951, allocations: 1.716 MB / 378.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.002704, allocations: 0.5529 MB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.002758, allocations: 4 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.002966, allocations: 59.67 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.003196, allocations: 99.53 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.003496, allocations: 171.5 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.003634, allocations: 87.75 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.00372, allocations: 20.2 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.003781, allocations: 43.91 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.003861, allocations: 43.88 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003875, allocations: 4 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.003963, allocations: 59.84 kB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.004016, allocations: 23.86 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.004037, allocations: 11.94 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.00417, allocations: 95.66 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004172, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004172, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.004175, allocations: 0 / 379.5 MB, free: 1.383 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003444/0.00452, allocations: 451.9 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.004551, allocations: 12.03 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.004583, allocations: 12.84 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.0047, allocations: 148.4 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004711, allocations: 4.375 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004728, allocations: 8.312 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.004823, allocations: 66.88 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.004831, allocations: 192 / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004838, allocations: 4.125 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004843, allocations: 0 / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.004873, allocations: 15.98 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.00513, allocations: 276.3 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.00525, allocations: 51.08 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.005267, allocations: 11.69 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.005288, allocations: 11.92 kB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.005306, allocations: 37.52 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.005307, allocations: 0 / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004861/0.005793, allocations: 225.6 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.005817, allocations: 51.41 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.005943, allocations: 215.9 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.005953, allocations: 25.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.006007, allocations: 154.8 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.006039, allocations: 43.61 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.006073, allocations: 31.36 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.006185, allocations: 0.4961 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.006206, allocations: 19.92 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.006226, allocations: 15.98 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.006274, allocations: 35.69 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006275, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.386e-05/0.006369, allocations: 89.53 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.006378, allocations: 7.938 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006382, allocations: 3.984 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006394, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.006454, allocations: 19.98 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006456, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.006481, allocations: 8 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.006488, allocations: 4 kB / 382 MB, free: 14.66 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 (11): * Single equations (assignments): 11 * 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.541e-05/0.006553, allocations: 168.4 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.006576, allocations: 19.91 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.006706, allocations: 110.8 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006708, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006709, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006712, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.006996, allocations: 377.2 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.006999, allocations: 8.062 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.007048, allocations: 23.92 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.007052, allocations: 4 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.007058, allocations: 4 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007059, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.007062, allocations: 8.125 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.007195, allocations: 255.1 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.007205, allocations: 7.953 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007217, allocations: 4 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.007259, allocations: 11.98 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.007285, allocations: 19.92 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.00729, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.565e-05/0.007346, allocations: 158 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007346, allocations: 0 / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.007514, allocations: 31.88 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009056/0.00842, allocations: 421.7 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.008524, allocations: 55.59 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008525, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.008558, allocations: 35.61 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.008764, allocations: 26.8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.009096, allocations: 262.1 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.009139, allocations: 75.27 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.009183, allocations: 24.59 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.009248, allocations: 86.19 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009249, allocations: 7.938 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003216/0.01246, allocations: 1.805 MB / 386 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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.9278760850429535]