Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001323/0.001323, 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.001367/0.001367, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.3103/0.3103, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.689e-05, allocations: 2.312 kB / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00229/0.002307, allocations: 1.723 MB / 377.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003487, allocations: 0.9936 MB / 378.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.003561, allocations: 0 / 378.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.003838, allocations: 43.77 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.004113, allocations: 111.4 kB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.004268, allocations: 75.66 kB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.004423, allocations: 111.6 kB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.004475, allocations: 240 / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.004572, allocations: 51.88 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.761e-05/0.004649, allocations: 23.92 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004665, allocations: 4 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.004736, allocations: 31.98 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.004791, allocations: 31.84 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.004833, allocations: 15.94 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.00499, allocations: 107.5 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004992, allocations: 0 / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004992, allocations: 4 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.004998, allocations: 0 / 379.4 MB, free: 1.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004582/0.005456, allocations: 463.7 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005496, allocations: 8.031 kB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.005549, allocations: 24.83 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.005725, allocations: 165.2 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.005743, allocations: 384 / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.005752, allocations: 4.375 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.005863, allocations: 62.88 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005871, allocations: 3.938 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005879, allocations: 7.938 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005886, allocations: 0 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.005914, allocations: 4 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.006062, allocations: 156.6 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/0.006157, allocations: 43.11 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.006186, allocations: 23.67 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.006198, allocations: 3.938 kB / 380.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.966e-05/0.006288, allocations: 65.05 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.006289, allocations: 0 / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001818/0.006471, allocations: 89.53 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.006502, allocations: 51.41 kB / 380.5 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.006675, allocations: 278.7 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.006689, allocations: 33.64 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.006752, allocations: 166.9 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.00678, allocations: 11.91 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.00681, allocations: 27.38 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006928, allocations: 0.5001 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.006947, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.006976, allocations: 27.38 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.007034, allocations: 47.61 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007035, allocations: 0 / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.744e-05/0.007123, allocations: 77.53 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007135, allocations: 4 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.007142, allocations: 3.938 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.007156, allocations: 4 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.007216, allocations: 8 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.007221, allocations: 0 / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.007252, allocations: 7.984 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.007257, allocations: 8.031 kB / 381.7 MB, free: 15.02 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 (7): * Single equations (assignments): 7 * 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.585e-05/0.007333, allocations: 164.5 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.007349, allocations: 15.91 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.007473, allocations: 90.77 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007476, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.00748, allocations: 3.984 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.007485, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.007605, allocations: 164.5 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007606, allocations: 3.938 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.007624, allocations: 7.984 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007626, allocations: 4 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007634, allocations: 4 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007635, allocations: 7.875 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007636, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.007734, allocations: 116.5 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.007753, allocations: 15.89 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.007773, allocations: 4 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.525e-05/0.007798, allocations: 11.94 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.007832, allocations: 3.984 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.007842, allocations: 4 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.007934, allocations: 196.5 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007934, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.008084, allocations: 20 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008524/0.008937, allocations: 385.3 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.009051, allocations: 39.61 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009053, allocations: 0 / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.009089, allocations: 23.67 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.009296, allocations: 43.66 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.009678, allocations: 230.5 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.009725, allocations: 75.33 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.009756, allocations: 12.55 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.009783, allocations: 16.5 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.009783, allocations: 4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.003819/0.0136, allocations: 1.675 MB / 385 MB, free: 11.74 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.5289551918394864]