Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001431/0.001431, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001548/0.001548, allocations: 165 kB / 24.56 MB, free: 12 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 0.9599/0.9599, allocations: 177.1 MB / 205 MB, free: 5.621 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.2673/0.2673, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.813e-05, allocations: 6.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.006232/0.00626, allocations: 1.766 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.01103, allocations: 1.005 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.01112, allocations: 7.875 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.01147, allocations: 51.75 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.01188, allocations: 107.5 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.01214, allocations: 79.66 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.01234, allocations: 103.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.01244, allocations: 11.98 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.01255, allocations: 55.83 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.01568, allocations: 27.92 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.01571, allocations: 4 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.01583, allocations: 51.84 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.0159, allocations: 27.91 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.01595, allocations: 19.88 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.0162, allocations: 119.6 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.0162, allocations: 0 / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.0162, allocations: 0 / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.01621, allocations: 0 / 379.5 MB, free: 1.121 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.0006524/0.01686, allocations: 475.6 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.01691, allocations: 12.03 kB / 380 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.01698, allocations: 20.84 kB / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.01724, allocations: 165.2 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.01727, allocations: 4.375 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.01729, allocations: 384 / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.01747, allocations: 62.94 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01749, allocations: 7.922 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.01751, allocations: 4 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.01751, allocations: 0 / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.01757, allocations: 8 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.01802, allocations: 303.8 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.01817, allocations: 55.17 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.01821, allocations: 23.61 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.01823, allocations: 0 / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.01837, allocations: 68.98 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.01837, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007086/0.01908, allocations: 165.3 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.01912, allocations: 59.28 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.01936, allocations: 274.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01938, allocations: 29.7 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.01947, allocations: 166.9 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01951, allocations: 27.78 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.01956, allocations: 27.38 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01971, allocations: 0.504 MB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.01976, allocations: 12 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.01981, allocations: 31.36 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.0199, allocations: 59.23 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0199, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.02008, allocations: 93.95 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.0201, allocations: 9.719 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.0201, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.02012, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.02023, allocations: 19.94 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.02024, allocations: 7.984 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.02028, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.0203, allocations: 8 kB / 382.2 MB, free: 14.23 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 0.0001025/0.0204, allocations: 164.2 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.02043, allocations: 19.91 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.02067, allocations: 123.2 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02067, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02068, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.02068, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.0211, allocations: 409 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02111, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.02116, allocations: 15.98 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02116, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.02117, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.02117, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02118, allocations: 11.97 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.02139, allocations: 255.5 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.02141, allocations: 19.84 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.02144, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.02151, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.02155, allocations: 11.92 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.02157, allocations: 8 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.0217, allocations: 200.4 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02171, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.02199, allocations: 27.94 kB / 383.4 MB, free: 12.91 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.001387/0.02338, allocations: 439.8 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.02354, allocations: 51.59 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02355, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.0236, allocations: 35.61 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.02397, allocations: 27.77 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.02449, allocations: 262.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.02454, allocations: 75.45 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.0246, allocations: 25.27 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.02464, allocations: 16.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02464, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005927/0.03057, allocations: 2.023 MB / 386.4 MB, free: 10.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.1742255920544267]