Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001239/0.001239, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001046/0.001046, allocations: 168.8 kB / 24.82 MB, free: 8.871 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3079/0.3079, allocations: 32.81 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.555e-05, allocations: 6.25 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003041/0.003067, allocations: 1.76 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004593, allocations: 0.9936 MB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.004673, allocations: 0 / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.00498, allocations: 55.69 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.00531, allocations: 111.5 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.005522, allocations: 75.61 kB / 379.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.005695, allocations: 107.7 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.005785, allocations: 4 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.005891, allocations: 63.75 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.00597, allocations: 19.92 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005987, allocations: 4 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.006086, allocations: 47.91 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.006141, allocations: 31.86 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.006186, allocations: 27.86 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.006377, allocations: 111.6 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00638, allocations: 4 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006381, allocations: 0 / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.006384, allocations: 0 / 380 MB, free: 0.8945 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.0004974/0.006882, allocations: 483.5 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.00692, allocations: 12.03 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.006965, allocations: 16.84 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.007141, allocations: 165.2 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007157, allocations: 384 / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.007175, allocations: 4.375 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007295, allocations: 62.88 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.007306, allocations: 7.938 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.007313, allocations: 0 / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.007318, allocations: 0 / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.007349, allocations: 11.98 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.007643, allocations: 264.4 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.007747, allocations: 51.05 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.007772, allocations: 15.75 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.007786, allocations: 0 / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.00789, allocations: 76.97 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007892, allocations: 4 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003555/0.008247, allocations: 141.4 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.008274, allocations: 51.41 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.008466, allocations: 266.6 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.008483, allocations: 33.7 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.008561, allocations: 166.8 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.008593, allocations: 23.78 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.008637, allocations: 31.36 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.008782, allocations: 0.5001 MB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.008807, allocations: 15.92 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.008843, allocations: 35.36 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.0089, allocations: 39.36 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008901, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00013/0.009031, allocations: 101.4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.009043, allocations: 4 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.009055, allocations: 3.984 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.009068, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.00914, allocations: 12 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009142, allocations: 7.969 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.009185, allocations: 11.98 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.009191, allocations: 0 / 382.5 MB, free: 14.09 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 8.555e-05/0.009277, allocations: 168.5 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.009304, allocations: 19.84 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.009473, allocations: 107.2 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009475, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009476, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009479, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.009823, allocations: 373.6 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009824, allocations: 4.031 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.009859, allocations: 8 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009861, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.009869, allocations: 4 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.009872, allocations: 3.984 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009873, allocations: 384 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.01005, allocations: 259.3 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01007, allocations: 11.91 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.0101, allocations: 12 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.01016, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.01019, allocations: 11.98 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.0102, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01032, allocations: 188.5 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.01032, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.01062, allocations: 31.92 kB / 383.7 MB, free: 12.84 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.001204/0.01182, allocations: 432.5 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01194, allocations: 51.59 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01194, allocations: 0 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.01198, allocations: 27.73 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.01233, allocations: 51.19 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.01275, allocations: 258.7 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.758e-05/0.01281, allocations: 79.31 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.921e-05/0.01286, allocations: 16.95 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.01295, allocations: 90.19 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01295, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.00519/0.01814, allocations: 2.064 MB / 386.8 MB, free: 9.918 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.1215729480609298]