Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009661/0.0009661, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001028/0.001028, allocations: 169.6 kB / 24.91 MB, free: 8.766 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.021/1.021, 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.2617/0.2617, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.969e-05, allocations: 9.5 kB / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002901/0.002931, allocations: 1.795 MB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004392, allocations: 1.009 MB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004504, allocations: 3.938 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.004838, allocations: 39.72 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.00514, allocations: 91.53 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.005363, allocations: 83.61 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.005545, allocations: 112.2 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.005643, allocations: 8.734 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.005743, allocations: 51.89 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.005831, allocations: 31.84 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.005848, allocations: 4 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.005936, allocations: 43.92 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.005983, allocations: 19.92 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.006021, allocations: 23.91 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.00619, allocations: 99.59 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006192, allocations: 4 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.006195, allocations: 4 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.006199, allocations: 0 / 326.8 MB, free: 6.113 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004162/0.006615, allocations: 321.3 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.006657, allocations: 8.031 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.006697, allocations: 8.938 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.006866, allocations: 147.4 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.006883, allocations: 12.31 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.006899, allocations: 384 / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.007008, allocations: 61.77 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.007017, allocations: 11.94 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.007024, allocations: 0 / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.007028, allocations: 0 / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.007053, allocations: 7.984 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.007258, allocations: 165.9 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.007353, allocations: 93.28 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.007374, allocations: 12.84 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.007388, allocations: 4 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.007493, allocations: 66.16 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.007494, allocations: 0 / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003167/0.00781, allocations: 113.5 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.007844, allocations: 55.41 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.007962, allocations: 180.8 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.007978, allocations: 29.7 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.008013, allocations: 96.11 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.008043, allocations: 27.77 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.00808, allocations: 17.72 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.008172, allocations: 326.8 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.008189, allocations: 10.83 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.008219, allocations: 37.58 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.008267, allocations: 40.52 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008268, allocations: 384 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.131e-05/0.00836, allocations: 72.38 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008374, allocations: 4 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.008379, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.008392, allocations: 4 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.008463, allocations: 19.98 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.008467, allocations: 32 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.008505, allocations: 16 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00851, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.874e-05/0.008599, allocations: 120.6 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.008615, allocations: 11.94 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.008737, allocations: 75.12 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008739, allocations: 3.938 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.008742, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008746, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.00899, allocations: 299.4 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.008993, allocations: 4.031 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.009024, allocations: 11.98 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.009026, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.009032, allocations: 4 kB / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009034, allocations: 0 / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009036, allocations: 0 / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.009152, allocations: 219 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.009166, allocations: 15.92 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.009181, allocations: 0 / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.009226, allocations: 4 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.009254, allocations: 11.98 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.009269, allocations: 4 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.02e-05/0.009319, allocations: 51.64 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009319, allocations: 0 / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.009477, allocations: 23.94 kB / 329.5 MB, free: 3.09 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001375/0.01085, allocations: 0.5858 MB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01097, allocations: 44.77 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01098, allocations: 0 / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.01102, allocations: 28.78 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01123, allocations: 35.66 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.01158, allocations: 215.7 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.01164, allocations: 67.47 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.01168, allocations: 21.27 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.01174, allocations: 67.36 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01175, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of Templates: time 0.003771/0.01552, allocations: 2.018 MB / 332.6 MB, free: 300 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.9385463800281286]