Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001031/0.001031, allocations: 79.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.001002/0.001002, allocations: 161 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.9976/0.9976, allocations: 177.1 MB / 205 MB, free: 5.613 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.2874/0.2874, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.031e-05, allocations: 2.312 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00242/0.002451, allocations: 1.772 MB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004129, allocations: 1.73 MB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.004198, allocations: 4 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.004471, allocations: 35.77 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.004787, allocations: 111.3 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.004943, allocations: 75.66 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.005092, allocations: 107.6 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.00518, allocations: 8 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.005264, allocations: 63.83 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.005362, allocations: 31.89 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.00538, allocations: 8 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.005522, allocations: 111.7 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.005574, allocations: 19.92 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.005617, allocations: 15.94 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.00585, allocations: 155.5 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.005853, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005854, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005858, allocations: 7.938 kB / 380.3 MB, free: 324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005058/0.006364, allocations: 459.8 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.006402, allocations: 8.031 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.006463, allocations: 16.89 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.00666, allocations: 141 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006679, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.006707, allocations: 8.375 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006881, allocations: 115.3 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.006894, allocations: 3.953 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006904, allocations: 0 / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.006913, allocations: 4 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.006947, allocations: 8 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.007258, allocations: 283.8 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.007362, allocations: 59.09 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.007391, allocations: 15.69 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.007406, allocations: 4 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.783e-05/0.007504, allocations: 65.05 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.007505, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.007942, allocations: 157.3 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.007989, allocations: 85.09 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.008137, allocations: 220.8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.00815, allocations: 25.7 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.008201, allocations: 150.8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.008224, allocations: 23.8 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.008257, allocations: 31.36 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.00837, allocations: 0.4922 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.008394, allocations: 15.98 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.008437, allocations: 68.69 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.008493, allocations: 51.78 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.008494, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001094/0.008603, allocations: 93.52 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.008614, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.00862, allocations: 8 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.008636, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.008703, allocations: 12 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008708, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.00874, allocations: 11.98 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.008749, allocations: 7.984 kB / 382.9 MB, free: 13.45 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 7.304e-05/0.008822, allocations: 172.5 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.008837, allocations: 7.953 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.008979, allocations: 110.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008981, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.008985, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008988, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.009285, allocations: 396.9 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009287, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.009313, allocations: 8 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009315, allocations: 4.031 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.009325, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.009326, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.009327, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.009484, allocations: 255.4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.009499, allocations: 15.94 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009517, allocations: 4 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.009556, allocations: 0 / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.009593, allocations: 15.92 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.009607, allocations: 4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.009677, allocations: 165.6 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009677, allocations: 3.938 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.009877, allocations: 47.86 kB / 384.1 MB, free: 12.18 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.001049/0.01093, allocations: 0.5467 MB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01105, allocations: 51.66 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01105, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.01109, allocations: 31.62 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01131, allocations: 35.91 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.01164, allocations: 206 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.01167, allocations: 67.28 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.01172, allocations: 25.27 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.01175, allocations: 20.48 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01175, allocations: 0 / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004144/0.0159, allocations: 2.535 MB / 387.6 MB, free: 8.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.322582749184221]