Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001098/0.001098, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001041/0.001041, allocations: 166.3 kB / 24.99 MB, free: 8.305 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2989/0.2989, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.861e-05, allocations: 2.312 kB / 376.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.006029/0.006057, allocations: 1.766 MB / 377.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.01157, allocations: 1.726 MB / 379.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.01175, allocations: 0 / 379.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.01215, allocations: 35.77 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.01261, allocations: 107.4 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.01287, allocations: 83.59 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.01309, allocations: 103.7 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.01426, allocations: 7.938 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.0144, allocations: 63.81 kB / 380 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.01455, allocations: 39.83 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.01457, allocations: 8 kB / 380 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.01478, allocations: 99.83 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.01484, allocations: 19.91 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.01488, allocations: 19.94 kB / 380.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.01518, allocations: 163.5 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.01519, allocations: 3.938 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01519, allocations: 0 / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.01519, allocations: 0 / 380.3 MB, free: 0.6602 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005235/0.01572, allocations: 447.8 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.01576, allocations: 8.031 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.01582, allocations: 12.89 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.01604, allocations: 156.9 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01606, allocations: 4.375 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.01608, allocations: 384 / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.01626, allocations: 115.4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01627, allocations: 3.953 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.01629, allocations: 4 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01629, allocations: 3.984 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.01634, allocations: 11.98 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.01668, allocations: 279.7 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.01681, allocations: 67.09 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.01684, allocations: 11.69 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.01686, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.01698, allocations: 69.05 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.01698, allocations: 3.938 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004548/0.01744, allocations: 157.4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.01748, allocations: 85.05 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01764, allocations: 216.8 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.01766, allocations: 29.7 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.01771, allocations: 150.8 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.01774, allocations: 23.8 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.01779, allocations: 35.36 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01791, allocations: 0.4961 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.01795, allocations: 8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.018, allocations: 68.75 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.01808, allocations: 51.3 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01808, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000136/0.01821, allocations: 89.59 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01823, allocations: 8.062 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01823, allocations: 0 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01824, allocations: 4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.01833, allocations: 19.92 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01834, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.01837, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.01838, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.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.704e-05/0.01847, allocations: 168.2 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.01849, allocations: 7.953 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.01867, allocations: 114.5 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01868, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01868, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01868, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.01904, allocations: 396.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01904, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.01908, allocations: 8 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01908, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01909, allocations: 8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01909, allocations: 3.938 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.0191, allocations: 3.938 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01927, allocations: 255.5 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.01929, allocations: 15.88 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01931, allocations: 8 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.01938, allocations: 384 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.01941, allocations: 11.92 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01943, allocations: 4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.01952, allocations: 161.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01952, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.01981, allocations: 51.86 kB / 384.1 MB, free: 12.52 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: 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.001354/0.02117, allocations: 0.5387 MB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.02133, allocations: 59.59 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02134, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.02139, allocations: 31.61 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.0217, allocations: 35.92 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.0221, allocations: 205.8 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.052e-05/0.02215, allocations: 67.34 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.02221, allocations: 29.38 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.02225, allocations: 20.48 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02225, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005137/0.02739, allocations: 2.535 MB / 387.6 MB, free: 9.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.478794720955193]