Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009338/0.0009338, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001034/0.001034, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9581/0.9581, allocations: 177.1 MB / 206 MB, free: 4.504 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.1447/0.1447, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.811e-05, allocations: 9.688 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002037/0.002055, allocations: 1.7 MB / 379 MB, free: 23.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003182, allocations: 0.978 MB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.003266, allocations: 3.938 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.003617, allocations: 59.78 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.003919, allocations: 115.4 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.004082, allocations: 75.61 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.004254, allocations: 103.7 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.004303, allocations: 12.16 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.439e-05/0.004397, allocations: 59.83 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.0045, allocations: 43.88 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.004515, allocations: 4 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.004597, allocations: 39.92 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.004649, allocations: 19.86 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.004683, allocations: 19.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004848, allocations: 83.73 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00485, allocations: 0 / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004851, allocations: 3.938 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.004857, allocations: 0 / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003712/0.005228, allocations: 443.9 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.00526, allocations: 15.98 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.005294, allocations: 16.88 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005425, allocations: 153.1 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.005442, allocations: 8.359 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.00545, allocations: 384 / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.005542, allocations: 58.89 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005551, allocations: 3.938 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.005558, allocations: 3.984 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005565, allocations: 4 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.005588, allocations: 7.938 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.49e-05/0.005683, allocations: 113.3 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.005763, allocations: 47.11 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.00578, allocations: 11.69 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005791, allocations: 0 / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/0.005864, allocations: 72.97 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.22e-07/0.005865, allocations: 0 / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001433/0.006008, allocations: 81.52 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.006028, allocations: 51.41 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.006109, allocations: 237.8 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.006118, allocations: 25.7 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.006148, allocations: 146.9 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.006174, allocations: 15.92 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.006198, allocations: 23.38 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.006253, allocations: 0.4962 MB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.006266, allocations: 4 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.00629, allocations: 31.3 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.006322, allocations: 31.38 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006325, allocations: 4 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.316e-05/0.006388, allocations: 73.53 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.006399, allocations: 8 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006404, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.006414, allocations: 3.938 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.006467, allocations: 11.98 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006471, allocations: 4 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.006499, allocations: 4.25 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.006504, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.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 (7): * Single equations (assignments): 7 * 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 5.048e-05/0.006554, allocations: 160.6 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.006568, allocations: 27.86 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.006655, allocations: 82.83 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006658, allocations: 3.938 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.00666, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.006663, allocations: 3.938 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.309e-05/0.006726, allocations: 113.2 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006727, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.006741, allocations: 7.984 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.006742, allocations: 0 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.006747, allocations: 4 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006748, allocations: 8 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.00675, allocations: 3.984 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.824e-05/0.006818, allocations: 116.2 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.006829, allocations: 11.94 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.006843, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.00686, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.006886, allocations: 3.984 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.006896, allocations: 7.938 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.056e-05/0.006937, allocations: 167.1 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006937, allocations: 0 / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.007075, allocations: 20 kB / 383.6 MB, free: 19 MB / 314.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: 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 (6): * Single equations (assignments): 4 * 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.0007233/0.007798, allocations: 383.1 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.007879, allocations: 43.58 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00788, allocations: 4.062 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/0.007903, allocations: 19.69 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.008068, allocations: 43 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.008308, allocations: 188 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.008331, allocations: 75.2 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.008357, allocations: 12.48 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.008405, allocations: 86.2 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008405, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of Templates: time 0.002932/0.01134, allocations: 1.8 MB / 386.2 MB, free: 16.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.1224336018785834]