Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001374/0.001374, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001594/0.001594, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2492/0.2492, allocations: 32.81 MB / 294.6 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.913e-06, allocations: 3.938 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.675e-05, allocations: 2.312 kB / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002781/0.002818, allocations: 1.769 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.004163, allocations: 0.9936 MB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.004258, allocations: 0 / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.004628, allocations: 95.61 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.005006, allocations: 119.4 kB / 379.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.00524, allocations: 75.56 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.005433, allocations: 119.7 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005536, allocations: 7.984 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005638, allocations: 71.75 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.005743, allocations: 55.86 kB / 379.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.00576, allocations: 4 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.005851, allocations: 47.92 kB / 379.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.00591, allocations: 31.84 kB / 379.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.005962, allocations: 19.92 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.006161, allocations: 103.6 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.006164, allocations: 4 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006166, allocations: 0 / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006171, allocations: 0 / 379.6 MB, free: 1.363 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.0005034/0.006675, allocations: 455.8 kB / 380 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.006715, allocations: 8.031 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.006772, allocations: 16.84 kB / 380.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.006972, allocations: 156.4 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.006992, allocations: 4.375 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.007014, allocations: 4.328 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.007151, allocations: 62.94 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007162, allocations: 3.938 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.007174, allocations: 3.984 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007181, allocations: 0 / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.00722, allocations: 15.94 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.007548, allocations: 283.8 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.007677, allocations: 59.16 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.007707, allocations: 19.62 kB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.007721, allocations: 4 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.007834, allocations: 68.98 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.007835, allocations: 0 / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004533/0.008289, allocations: 165.4 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.008324, allocations: 55.39 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.008478, allocations: 246.7 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.008493, allocations: 25.7 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.008558, allocations: 162.9 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.008593, allocations: 31.73 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.008628, allocations: 27.36 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.008752, allocations: 0.5001 MB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.008781, allocations: 12 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.008822, allocations: 31.36 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.126e-05/0.008883, allocations: 55.05 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008885, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001244/0.009009, allocations: 89.58 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.009024, allocations: 9.906 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.009031, allocations: 4 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009045, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.009128, allocations: 15.98 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.009134, allocations: 0 / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.009164, allocations: 4 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.009172, allocations: 8 kB / 382.2 MB, free: 14.57 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.568e-05/0.009258, allocations: 156.5 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.009277, allocations: 23.84 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.009444, allocations: 107.3 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.009447, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.009452, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.009456, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.009782, allocations: 400.9 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009785, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.009816, allocations: 15.94 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.00982, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.009828, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.009838, allocations: 7.984 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.00984, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009998, allocations: 263.4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.01001, allocations: 7.953 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01003, allocations: 4 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.01008, allocations: 7.938 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01011, allocations: 11.97 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.01013, allocations: 8.312 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.076e-05/0.01022, allocations: 185 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01022, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01041, allocations: 23.94 kB / 383.4 MB, free: 13.28 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.001035/0.01144, allocations: 437.5 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01159, allocations: 59.58 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01159, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.01164, allocations: 35.61 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01191, allocations: 23.97 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.01249, allocations: 244.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01254, allocations: 67.33 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.01257, allocations: 21.41 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.01261, allocations: 24.48 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/0.01261, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004082/0.01669, allocations: 1.878 MB / 386.1 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.2302453690208495]