Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.000961/0.000961, allocations: 83.58 kB / 21.19 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.001015/0.001015, allocations: 161 kB / 24.56 MB, free: 16 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.006/1.006, 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.2735/0.2735, allocations: 32.8 MB / 294.3 MB, free: 1.215 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.041e-05, allocations: 6.312 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002211/0.002232, allocations: 1.766 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003375, allocations: 1.013 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.003448, allocations: 3.938 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.003728, allocations: 31.78 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.004021, allocations: 95.53 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.004206, allocations: 87.59 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.004355, allocations: 115.5 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.004438, allocations: 8 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.004517, allocations: 55.83 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.004585, allocations: 27.91 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.0046, allocations: 4 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.00468, allocations: 43.92 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.00473, allocations: 19.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.004766, allocations: 19.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004929, allocations: 107.5 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004931, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004932, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004936, allocations: 4 kB / 379.5 MB, free: 1.156 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.0004482/0.005384, allocations: 443.9 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.005419, allocations: 8.031 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.005469, allocations: 20.83 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005635, allocations: 153.1 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.005655, allocations: 384 / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.005676, allocations: 8.312 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005798, allocations: 62.94 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005809, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005818, allocations: 0 / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005825, allocations: 4 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.00586, allocations: 15.98 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.006421, allocations: 287.8 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.006525, allocations: 55.11 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.006568, allocations: 19.67 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.006579, allocations: 0 / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.572e-05/0.006675, allocations: 68.94 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006676, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003764/0.007053, allocations: 157.4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.007082, allocations: 55.41 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.007208, allocations: 238.3 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007221, allocations: 29.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.007274, allocations: 146.9 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.007299, allocations: 27.78 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.007332, allocations: 27.38 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.007434, allocations: 0.4961 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.00746, allocations: 15.98 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.007494, allocations: 35.36 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.00755, allocations: 51.31 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007551, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.007658, allocations: 97.88 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007671, allocations: 10.34 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007676, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007688, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.007755, allocations: 16 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007762, allocations: 3.938 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.00779, allocations: 11.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.007797, allocations: 4 kB / 382 MB, free: 14.4 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.134e-05/0.007868, allocations: 171.6 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.007883, allocations: 7.953 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.008036, allocations: 111.2 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008038, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008041, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008044, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.008319, allocations: 392.9 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00832, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.008347, allocations: 11.98 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008349, allocations: 4.031 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008359, allocations: 8 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.008361, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008362, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.008498, allocations: 259.4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.00851, allocations: 15.84 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.008527, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.008568, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.0086, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.008613, allocations: 7.984 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.216e-05/0.008686, allocations: 168.1 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008686, allocations: 7.938 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.00886, allocations: 27.94 kB / 383.2 MB, free: 13.13 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.0008704/0.00973, allocations: 438.1 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.009844, allocations: 47.61 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009846, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.009891, allocations: 31.67 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01012, allocations: 35.47 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.01044, allocations: 222 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.01048, allocations: 67.34 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.01052, allocations: 21.27 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.01055, allocations: 16.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01055, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003666/0.01422, allocations: 2.002 MB / 386.1 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.0577368242666125]