Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001892/0.001892, 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.001994/0.001994, allocations: 165.6 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.4014/0.4014, allocations: 32.81 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 375.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.647e-05, allocations: 2.312 kB / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003779/0.003816, allocations: 1.917 MB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.006091, allocations: 1.087 MB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.006185, allocations: 0 / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.006765, allocations: 259.2 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.007286, allocations: 243 kB / 378.9 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.007602, allocations: 115.6 kB / 379 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.007989, allocations: 279.2 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.008109, allocations: 17.95 kB / 379.3 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.008357, allocations: 159.6 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.008661, allocations: 195.6 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.008699, allocations: 12 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.008844, allocations: 59.91 kB / 379.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.008958, allocations: 71.7 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.009046, allocations: 51.78 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.009436, allocations: 247 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.009441, allocations: 4 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.009443, allocations: 0 / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.009449, allocations: 0 / 380 MB, free: 200 kB / 346.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.0009439/0.01039, allocations: 0.6366 MB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.01044, allocations: 12.03 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.01053, allocations: 36.75 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.01089, allocations: 231 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.01091, allocations: 8.375 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.01094, allocations: 8.375 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.01122, allocations: 119.8 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.01124, allocations: 3.953 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.01125, allocations: 0 / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.01126, allocations: 8 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.01141, allocations: 39.97 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.01222, allocations: 0.5569 MB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.01265, allocations: 134.1 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01276, allocations: 47.42 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.01277, allocations: 4 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.01303, allocations: 128.4 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.01303, allocations: 0 / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001491/0.01452, allocations: 0.5324 MB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.01459, allocations: 81.11 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.01515, allocations: 482.7 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01518, allocations: 29.7 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.01539, allocations: 247.2 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.01548, allocations: 79.41 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.01557, allocations: 47.38 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.01589, allocations: 0.543 MB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.01602, allocations: 55.97 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.01644, allocations: 106.7 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.01674, allocations: 170.7 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01675, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005447/0.01729, allocations: 249.5 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.01731, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01731, allocations: 4 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01733, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01749, allocations: 51.89 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.0175, allocations: 64 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.01758, allocations: 12 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.0176, allocations: 8 kB / 384.7 MB, free: 11.28 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.0001712/0.01777, allocations: 180.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.01784, allocations: 51.7 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.01843, allocations: 268.4 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.01843, allocations: 4 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01844, allocations: 3.984 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01845, allocations: 0 / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.01968, allocations: 0.8347 MB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.01968, allocations: 4 kB / 386 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.01979, allocations: 35.92 kB / 386 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.0198, allocations: 4 kB / 386 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.01982, allocations: 4 kB / 386 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01982, allocations: 4.234 kB / 386 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01982, allocations: 0 / 386 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.0205, allocations: 0.5403 MB / 386.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.02056, allocations: 35.77 kB / 386.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.02061, allocations: 16.11 kB / 386.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.02075, allocations: 4 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.02081, allocations: 23.91 kB / 386.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.02084, allocations: 15.98 kB / 386.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003582/0.0212, allocations: 311.1 kB / 387 MB, free: 8.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0212, allocations: 3.938 kB / 387 MB, free: 8.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.02157, allocations: 55.92 kB / 387 MB, free: 8.789 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.003925/0.02549, allocations: 0.5527 MB / 387.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.02593, allocations: 180 kB / 387.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02593, allocations: 0 / 387.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.02614, allocations: 91.53 kB / 387.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.02673, allocations: 67.27 kB / 387.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.02781, allocations: 0.5521 MB / 388.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.02803, allocations: 166.1 kB / 388.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.02814, allocations: 41.92 kB / 388.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.02823, allocations: 36.48 kB / 388.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02823, allocations: 0 / 388.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of Templates: time 0.008914/0.03714, allocations: 3.34 MB / 392.1 MB, free: 3.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.214980640914291]