Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001019/0.001019, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001016/0.001016, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.438 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.2572/0.2572, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.232e-05, allocations: 2.312 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00199/0.002002, allocations: 1.686 MB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.002674, allocations: 0.5257 MB / 325.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.002719, allocations: 0 / 325.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.002901, allocations: 35.72 kB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.003088, allocations: 75.62 kB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.003267, allocations: 91.62 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.003377, allocations: 71.78 kB / 325.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.003446, allocations: 11.97 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.003499, allocations: 31.86 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.003545, allocations: 15.92 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.003556, allocations: 4 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.003616, allocations: 39.91 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.003648, allocations: 7.938 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.003668, allocations: 15.98 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003786, allocations: 75.67 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.003787, allocations: 0 / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003788, allocations: 4 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003791, allocations: 0 / 326 MB, free: 6.953 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002651/0.004056, allocations: 293.6 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.004085, allocations: 11.97 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.00411, allocations: 4.938 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.004224, allocations: 142.2 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.00423, allocations: 384 / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.004244, allocations: 384 / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.442e-05/0.004319, allocations: 58.7 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004328, allocations: 3.984 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.004333, allocations: 0 / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.004339, allocations: 8 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.004355, allocations: 4 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.004526, allocations: 159.1 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.004631, allocations: 38.62 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.004644, allocations: 4.859 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.004658, allocations: 7.938 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.004676, allocations: 30.56 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004677, allocations: 0 / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002219/0.004899, allocations: 81.64 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.004924, allocations: 55.41 kB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.005017, allocations: 162.7 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.005025, allocations: 29.64 kB / 327 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.005054, allocations: 92.11 kB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.005074, allocations: 27.73 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.005097, allocations: 17.7 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.005168, allocations: 318.8 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.005177, allocations: 4 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.005187, allocations: 7.984 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.005211, allocations: 20.86 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.005212, allocations: 192 / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.056e-05/0.005262, allocations: 57.61 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.005274, allocations: 8 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.005279, allocations: 0 / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.005288, allocations: 0 / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.826e-05/0.005326, allocations: 11.94 kB / 327.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005329, allocations: 3.984 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.005345, allocations: 7.984 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.005349, allocations: 0 / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.759e-05/0.005396, allocations: 112.7 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.005413, allocations: 7.938 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.654e-05/0.005489, allocations: 62.14 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.005491, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.005492, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005494, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.005661, allocations: 222.7 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005661, allocations: 0 / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.005687, allocations: 11.98 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005689, allocations: 0 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.005693, allocations: 288 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005694, allocations: 0 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005695, allocations: 4 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.005765, allocations: 151.7 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.005772, allocations: 7.938 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.005785, allocations: 12 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.005814, allocations: 0 / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.005837, allocations: 7.984 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005839, allocations: 3.938 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.005874, allocations: 42.7 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005874, allocations: 0 / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.006001, allocations: 15.94 kB / 328.3 MB, free: 4.449 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001016/0.007017, allocations: 0.4986 MB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.943e-05/0.007076, allocations: 24.78 kB / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.007079, allocations: 0 / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.007093, allocations: 12.86 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.007239, allocations: 26.86 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.007486, allocations: 182.9 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.007519, allocations: 59.34 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.007545, allocations: 15.98 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.007592, allocations: 59.36 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007592, allocations: 0 / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of Templates: time 0.002615/0.01021, allocations: 1.248 MB / 330.4 MB, free: 2.555 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.9496224229224026]