Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001013/0.001013, allocations: 80.8 kB / 21.49 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.0009288/0.0009288, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9717/0.9717, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2497/0.2497, allocations: 34.25 MB / 296.1 MB, free: 0.7383 MB / 266.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.124e-05, allocations: 3.781 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002194/0.002215, allocations: 1.691 MB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.002981, allocations: 0.5258 MB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.003032, allocations: 0 / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.00322, allocations: 23.73 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.003427, allocations: 79.61 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.003596, allocations: 91.58 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.003713, allocations: 64.45 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.813e-05/0.003791, allocations: 8 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.003845, allocations: 39.89 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.003892, allocations: 15.92 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.003903, allocations: 0 / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.003963, allocations: 35.94 kB / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.003998, allocations: 19.91 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.004018, allocations: 7.938 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.00414, allocations: 71.69 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004141, allocations: 0 / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004143, allocations: 0 / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.004146, allocations: 0 / 328 MB, free: 4.945 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.0002982/0.004444, allocations: 281.9 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.004474, allocations: 12.03 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.004498, allocations: 4.938 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.004615, allocations: 133.6 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.004621, allocations: 4.375 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.004638, allocations: 8.297 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.004712, allocations: 58.94 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00472, allocations: 192 / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004727, allocations: 4.125 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004732, allocations: 0 / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.004749, allocations: 4 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.00492, allocations: 163.1 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.005031, allocations: 34.5 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.005046, allocations: 12.92 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.005059, allocations: 0 / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.005078, allocations: 30.56 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.005079, allocations: 4 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002195/0.005298, allocations: 82.08 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.005321, allocations: 51.41 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.005402, allocations: 151 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005412, allocations: 33.64 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.00544, allocations: 92.12 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.005462, allocations: 23.78 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.005487, allocations: 17.72 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.00556, allocations: 322.8 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.005568, allocations: 0 / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.005577, allocations: 8.062 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.005605, allocations: 24.78 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.005605, allocations: 0 / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.766e-05/0.005653, allocations: 45.62 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.005668, allocations: 8 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005672, allocations: 4 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005684, allocations: 0 / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.005722, allocations: 15.98 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.005725, allocations: 0 / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.00574, allocations: 4 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.005744, allocations: 0 / 329.6 MB, free: 3.184 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.794e-05/0.005792, allocations: 120.6 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.00581, allocations: 11.92 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.348e-05/0.005893, allocations: 54.16 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005894, allocations: 0 / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.005897, allocations: 7.984 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005899, allocations: 0 / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.006078, allocations: 202.8 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00608, allocations: 7.938 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.006106, allocations: 12.3 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006108, allocations: 0 / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.006113, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006114, allocations: 0 / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006115, allocations: 0 / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.006181, allocations: 143.5 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.006192, allocations: 19.88 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.006201, allocations: 4 kB / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.00623, allocations: 4 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.006251, allocations: 8.203 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006253, allocations: 3.938 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.00628, allocations: 34.08 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00628, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.006405, allocations: 15.94 kB / 330.2 MB, free: 2.484 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.001098/0.007503, allocations: 0.493 MB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.792e-05/0.007561, allocations: 24.84 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.007564, allocations: 4 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.007583, allocations: 20.8 kB / 330.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.007732, allocations: 23.86 kB / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.007974, allocations: 163.2 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.008008, allocations: 66.34 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.008034, allocations: 11.97 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.008083, allocations: 63.38 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008084, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of Templates: time 0.002622/0.01071, allocations: 1.238 MB / 332.3 MB, free: 0.6016 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.8152488223277032]