Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001295/0.001295, allocations: 80.8 kB / 21.49 MB, free: 3 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.0008916/0.0008916, allocations: 172.7 kB / 24.91 MB, free: 9.215 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.9862/0.9862, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.166e-05/4.362e-05, allocations: 3.078 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004467/0.00451, allocations: 1.766 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.006378, allocations: 1.01 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.006471, allocations: 0 / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.006747, allocations: 35.72 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.007114, allocations: 99.47 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.007382, allocations: 83.59 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.007575, allocations: 107.7 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.007657, allocations: 7.984 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.007764, allocations: 55.78 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.007853, allocations: 27.89 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.007872, allocations: 4 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.007989, allocations: 43.92 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.008051, allocations: 15.94 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.008094, allocations: 24.41 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.008285, allocations: 103.5 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008289, allocations: 4 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.008291, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008295, allocations: 0 / 328.7 MB, free: 4.211 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.0005661/0.008861, allocations: 305.7 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.008894, allocations: 8.031 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.008929, allocations: 4.938 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.009106, allocations: 153.5 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.009122, allocations: 384 / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.009141, allocations: 4.375 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.009256, allocations: 65.7 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.009266, allocations: 7.938 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.009274, allocations: 0 / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.009279, allocations: 0 / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.009307, allocations: 11.98 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.009527, allocations: 162 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.009623, allocations: 81.3 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.00965, allocations: 20.78 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.00966, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.596e-05/0.009756, allocations: 74.14 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.009757, allocations: 3.938 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003143/0.01007, allocations: 113.5 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.0101, allocations: 51.41 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.01022, allocations: 160.9 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01024, allocations: 29.7 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.01028, allocations: 88.12 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.01031, allocations: 31.77 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.01035, allocations: 17.72 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.01044, allocations: 326.8 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.01046, allocations: 14.81 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.01049, allocations: 25.66 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.01054, allocations: 48.5 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01054, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001019/0.01065, allocations: 68.39 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01066, allocations: 10.48 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01067, allocations: 384 / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.01069, allocations: 7.984 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.01078, allocations: 16 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01078, allocations: 4.031 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.01082, allocations: 8 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01083, allocations: 3.984 kB / 330.6 MB, free: 2.145 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 7.859e-05/0.01091, allocations: 120.6 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.01092, allocations: 7.938 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.01105, allocations: 74.44 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01105, allocations: 4 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01105, allocations: 0 / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01105, allocations: 0 / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01131, allocations: 295.5 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01131, allocations: 0 / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.01135, allocations: 19.92 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01135, allocations: 0 / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.01136, allocations: 4 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01136, allocations: 0 / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01136, allocations: 4.078 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.01149, allocations: 215 kB / 331.3 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.0115, allocations: 7.953 kB / 331.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01152, allocations: 7.922 kB / 331.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.01159, allocations: 8 kB / 331.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.01161, allocations: 8.016 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01162, allocations: 4 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.056e-05/0.01167, allocations: 41.19 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01167, allocations: 4 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.01199, allocations: 27.92 kB / 331.4 MB, free: 1.242 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.001712/0.0137, allocations: 0.5768 MB / 332 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01381, allocations: 44.78 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01382, allocations: 0 / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01386, allocations: 28.78 kB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.0141, allocations: 31.17 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.01446, allocations: 204.2 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01451, allocations: 79.33 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.01455, allocations: 13.28 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.01463, allocations: 67.36 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01464, allocations: 0 / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of Templates: time 0.004907/0.01954, allocations: 2.005 MB / 334.5 MB, free: 14.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.930292861070484]