Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001442/0.001442, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001198/0.001198, allocations: 161.8 kB / 24.99 MB, free: 9.324 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2567/0.2567, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.44e-05, allocations: 2.312 kB / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002592/0.002616, allocations: 1.961 MB / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003854, allocations: 1.044 MB / 379.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.003957, allocations: 3.938 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.00428, allocations: 47.59 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.004555, allocations: 99.41 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.004719, allocations: 95.64 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.00492, allocations: 151.5 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005049, allocations: 17.8 kB / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.005162, allocations: 75.81 kB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005266, allocations: 47.75 kB / 379.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.005287, allocations: 8 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.005384, allocations: 47.92 kB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.00545, allocations: 31.84 kB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.005514, allocations: 27.92 kB / 379.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005741, allocations: 127.5 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005745, allocations: 3.984 kB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005746, allocations: 0 / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00575, allocations: 0 / 379.9 MB, free: 1.098 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005505/0.0063, allocations: 0.4974 MB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000307/0.006607, allocations: 12.03 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.006664, allocations: 28.8 kB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.006864, allocations: 173.1 kB / 380.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.006882, allocations: 384 / 380.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.006904, allocations: 12.38 kB / 380.6 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.007092, allocations: 139.6 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.0071, allocations: 3.938 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.007113, allocations: 8 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.007121, allocations: 0 / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.007177, allocations: 31.92 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.007625, allocations: 0.5795 MB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.007832, allocations: 83.06 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.007868, allocations: 19.67 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.007881, allocations: 4 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.008007, allocations: 106.7 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.008008, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002977/0.008306, allocations: 113.5 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.008334, allocations: 51.41 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.008475, allocations: 247.1 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.00849, allocations: 33.7 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.00856, allocations: 162.8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.008582, allocations: 35.73 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.008617, allocations: 27.38 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008728, allocations: 0.5 MB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.008759, allocations: 15.98 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.008803, allocations: 66.17 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.008885, allocations: 86.36 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008887, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001284/0.009015, allocations: 117.4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.00903, allocations: 9.875 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009035, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009048, allocations: 8.125 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.009109, allocations: 19.94 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.009116, allocations: 3.984 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.009151, allocations: 15.94 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.009159, allocations: 8 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.484e-05/0.009234, allocations: 168.5 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.009251, allocations: 15.91 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.009385, allocations: 107.1 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009387, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.009391, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.009396, allocations: 7.984 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.009499, allocations: 164.5 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0095, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.009546, allocations: 11.98 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.009548, allocations: 0 / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.009558, allocations: 4 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009559, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00956, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.009727, allocations: 160.8 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.009741, allocations: 15.84 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.009758, allocations: 8.031 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.009786, allocations: 7.984 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.009822, allocations: 7.984 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.009835, allocations: 8 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.009912, allocations: 175.1 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009912, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.01007, allocations: 24 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007882/0.01086, allocations: 389 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01098, allocations: 59.59 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01098, allocations: 3.938 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.01102, allocations: 35.61 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01122, allocations: 48.14 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.01159, allocations: 254 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.01163, allocations: 71.83 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.173e-05/0.01167, allocations: 17.48 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.0117, allocations: 20.5 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01171, allocations: 0 / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Templates: time 0.003608/0.01531, allocations: 2.066 MB / 386.9 MB, free: 9.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.1349033107981086]