Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001887/0.001887, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002028/0.002028, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3595/0.3595, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.947e-05, allocations: 2.312 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003525/0.003554, allocations: 1.903 MB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.005745, allocations: 1.099 MB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.005826, allocations: 0 / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.006359, allocations: 263.1 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.006856, allocations: 235.1 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.007142, allocations: 123.4 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.007506, allocations: 275.2 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.007609, allocations: 21.89 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.007849, allocations: 155.6 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.00813, allocations: 199.5 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.008167, allocations: 12 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.008302, allocations: 59.92 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.00841, allocations: 67.77 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.008492, allocations: 51.72 kB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.008857, allocations: 247.1 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.008861, allocations: 0 / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008862, allocations: 0 / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.008866, allocations: 4 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001111/0.009977, allocations: 0.6348 MB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01001, allocations: 12.03 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.01011, allocations: 40.7 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.01048, allocations: 235 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.01049, allocations: 4.375 kB / 383 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.01053, allocations: 16.31 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.01077, allocations: 109.6 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01079, allocations: 3.938 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.0108, allocations: 8 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01081, allocations: 4 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01094, allocations: 39.97 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.01169, allocations: 0.553 MB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.0121, allocations: 138.1 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.01221, allocations: 47.48 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.01222, allocations: 4 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.01248, allocations: 135.1 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.01248, allocations: 4 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001454/0.01393, allocations: 0.5202 MB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.01401, allocations: 93.03 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.01453, allocations: 474.8 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.01456, allocations: 29.7 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.01477, allocations: 235.3 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.01485, allocations: 83.36 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.01495, allocations: 51.36 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003172/0.01527, allocations: 0.5431 MB / 386 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.0154, allocations: 59.91 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.01556, allocations: 106.7 kB / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.01588, allocations: 170.8 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01588, allocations: 0 / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005101/0.01639, allocations: 241.3 kB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01641, allocations: 7.984 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01642, allocations: 4 kB / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01643, allocations: 0 / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.0166, allocations: 51.97 kB / 386.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.01661, allocations: 3.938 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.01669, allocations: 8 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.01672, allocations: 15.98 kB / 386.7 MB, free: 9.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001727/0.01689, allocations: 176.5 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.01696, allocations: 43.77 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.01753, allocations: 273.7 kB / 387.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01753, allocations: 4 kB / 387.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01754, allocations: 3.938 kB / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01755, allocations: 0 / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.01872, allocations: 0.8347 MB / 388 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.01873, allocations: 4 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.01884, allocations: 31.98 kB / 388.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.01885, allocations: 4 kB / 388.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01887, allocations: 8 kB / 388.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.01888, allocations: 7.984 kB / 388.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01888, allocations: 3.938 kB / 388.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.01952, allocations: 0.5351 MB / 388.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.01958, allocations: 39.75 kB / 388.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.01963, allocations: 8 kB / 388.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01978, allocations: 8 kB / 388.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.01984, allocations: 23.84 kB / 388.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.01987, allocations: 15.98 kB / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.02022, allocations: 323 kB / 389 MB, free: 6.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02022, allocations: 0 / 389 MB, free: 6.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.02058, allocations: 51.94 kB / 389.1 MB, free: 6.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003878/0.02446, allocations: 0.5578 MB / 389.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.02488, allocations: 172 kB / 389.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02488, allocations: 0 / 389.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.02506, allocations: 95.52 kB / 389.9 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.02588, allocations: 68.83 kB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/0.02686, allocations: 0.559 MB / 390.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.02706, allocations: 170.1 kB / 390.7 MB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.02716, allocations: 37.94 kB / 390.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.02724, allocations: 32.48 kB / 390.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.2e-07/0.02724, allocations: 0 / 390.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of Templates: time 0.008155/0.03539, allocations: 3.334 MB / 394.1 MB, free: 1.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.142064627958462]