Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001036/0.001036, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.00111/0.00111, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9619/0.9619, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1577/0.1577, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.3e-05, allocations: 9.484 kB / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001827/0.00184, allocations: 1.75 MB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.003461, allocations: 1.718 MB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.003545, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.003788, allocations: 39.7 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.004077, allocations: 103.5 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.004252, allocations: 87.53 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.004382, allocations: 111.7 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.004462, allocations: 4 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.004533, allocations: 59.78 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.004623, allocations: 35.83 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004639, allocations: 8 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.004767, allocations: 99.86 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.004808, allocations: 19.94 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.004837, allocations: 23.91 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005016, allocations: 155.5 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005018, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005019, allocations: 7.938 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.005022, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.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.0003386/0.005361, allocations: 455.8 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.005389, allocations: 8.031 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.005431, allocations: 12.89 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005578, allocations: 156.9 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.005596, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.005615, allocations: 4.375 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.005738, allocations: 107.4 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.00575, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.005758, allocations: 7.984 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005764, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.005792, allocations: 8 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.006035, allocations: 268.3 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.00614, allocations: 51.11 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.006161, allocations: 15.62 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.006176, allocations: 4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.423e-05/0.006271, allocations: 69.03 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.006272, allocations: 7.938 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003531/0.006625, allocations: 141.5 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.00666, allocations: 81.05 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.00675, allocations: 208.7 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.006759, allocations: 33.7 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.006789, allocations: 146.8 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.006809, allocations: 15.86 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.006837, allocations: 31.34 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.00688, allocations: 0.5 MB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.006894, allocations: 8 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.006921, allocations: 72.73 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.006959, allocations: 47.36 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006961, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.284e-05/0.007043, allocations: 85.62 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.007057, allocations: 6.344 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.007063, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007075, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.007135, allocations: 23.92 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.007138, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.007168, allocations: 11.95 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.007173, allocations: 4 kB / 386.1 MB, free: 16.32 MB / 314.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 5.155e-05/0.007225, allocations: 168.5 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.00724, allocations: 11.95 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007354, allocations: 98.38 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007356, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007357, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007361, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.007558, allocations: 361.6 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00756, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.007582, allocations: 16.03 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.007583, allocations: 0 / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007589, allocations: 3.984 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00759, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007592, allocations: 7.875 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.007682, allocations: 251.7 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.007692, allocations: 15.89 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.007708, allocations: 0 / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.00775, allocations: 8.359 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.007774, allocations: 8 kB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.007785, allocations: 11.98 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.007826, allocations: 154.4 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007826, allocations: 0 / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.008021, allocations: 51.81 kB / 387.3 MB, free: 15.1 MB / 314.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.001021/0.009042, allocations: 0.5288 MB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.009144, allocations: 51.58 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.009145, allocations: 0 / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.009175, allocations: 31.61 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.009382, allocations: 43.03 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.009618, allocations: 199.7 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.009645, allocations: 71.27 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.009682, allocations: 20.95 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.009745, allocations: 90.19 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009745, allocations: 0 / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Templates: time 0.003555/0.0133, allocations: 2.808 MB / 391.1 MB, free: 11.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.115059067029506]