Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001057/0.001057, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001811/0.001811, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2415/0.2415, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 323.3 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.192e-05, allocations: 9.859 kB / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00253/0.002552, allocations: 1.994 MB / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003934, allocations: 1.04 MB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.004019, allocations: 3.938 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.004298, allocations: 47.66 kB / 326.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.004536, allocations: 99.41 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.004689, allocations: 91.64 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.004863, allocations: 156 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004966, allocations: 22.45 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.005065, allocations: 79.8 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.005153, allocations: 39.83 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.005168, allocations: 8 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.005239, allocations: 47.86 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.005285, allocations: 31.91 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.005324, allocations: 31.86 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.00552, allocations: 131.5 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005522, allocations: 0 / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005522, allocations: 0 / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005526, allocations: 0 / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003802/0.005906, allocations: 378.9 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.005935, allocations: 8.031 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.005968, allocations: 20.92 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.006136, allocations: 166.3 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006149, allocations: 4.375 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.00617, allocations: 16.31 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.006328, allocations: 138.6 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.006335, allocations: 3.938 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.006345, allocations: 4 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.006349, allocations: 4 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.006384, allocations: 22.75 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.006719, allocations: 374.1 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.006861, allocations: 105.2 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.006887, allocations: 28.81 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.006899, allocations: 4 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.344e-05/0.006992, allocations: 91.91 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.006994, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001204/0.007114, allocations: 73.61 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.007173, allocations: 55.41 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007284, allocations: 189.6 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007299, allocations: 33.69 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.007344, allocations: 108 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.00736, allocations: 23.84 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.007393, allocations: 33.69 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.007469, allocations: 330.7 kB / 329.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.007489, allocations: 14.81 kB / 329.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.00752, allocations: 44.23 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.00758, allocations: 73.84 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007582, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001636/0.007745, allocations: 92.36 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.007757, allocations: 4 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007762, allocations: 0 / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.007771, allocations: 4 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.007833, allocations: 23.92 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007838, allocations: 4 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.007869, allocations: 16.02 kB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.007877, allocations: 8 kB / 329.6 MB, free: 3.023 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.527e-05/0.007942, allocations: 124.6 kB / 329.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.007954, allocations: 8 kB / 329.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.008043, allocations: 79.53 kB / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008045, allocations: 0 / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008046, allocations: 3.938 kB / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00805, allocations: 0 / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.008127, allocations: 105.7 kB / 329.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.008128, allocations: 3.938 kB / 329.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.008171, allocations: 19.98 kB / 329.9 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.008172, allocations: 4 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.008181, allocations: 4 kB / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.008182, allocations: 0 / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008182, allocations: 0 / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.008302, allocations: 122.7 kB / 330.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.008315, allocations: 15.84 kB / 330.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.008329, allocations: 3.984 kB / 330.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.008351, allocations: 4 kB / 330.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.008379, allocations: 15.92 kB / 330.1 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.008392, allocations: 8.031 kB / 330.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.008434, allocations: 56.22 kB / 330.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008434, allocations: 0 / 330.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.008553, allocations: 24 kB / 330.2 MB, free: 2.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001036/0.009588, allocations: 0.4928 MB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.009672, allocations: 52.77 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.009676, allocations: 4.25 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.009708, allocations: 28.78 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.009845, allocations: 50.95 kB / 330.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.01014, allocations: 255 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.01018, allocations: 71.83 kB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.01022, allocations: 17.47 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.01029, allocations: 83.28 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01029, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of Templates: time 0.00354/0.01383, allocations: 2.197 MB / 333.4 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 2.96137680625543]