Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001038/0.001038, allocations: 80.92 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.001469/0.001469, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9782/0.9782, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2546/0.2546, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.762e-05, allocations: 3.891 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003458/0.003486, allocations: 1.656 MB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.004376, allocations: 0.5297 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.004433, allocations: 4 kB / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.004757, allocations: 75.64 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.005034, allocations: 107.5 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.005242, allocations: 95.62 kB / 325.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.005402, allocations: 91.67 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.005494, allocations: 12 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.005564, allocations: 43.88 kB / 325.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.005667, allocations: 51.89 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.00568, allocations: 0 / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.005752, allocations: 51.91 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.005793, allocations: 19.92 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.005816, allocations: 12.56 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.005952, allocations: 95.59 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005955, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005956, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.00596, allocations: 0 / 326.1 MB, free: 6.832 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000324/0.006284, allocations: 313.5 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.006315, allocations: 12.03 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.006345, allocations: 12.92 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.006471, allocations: 143.4 kB / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.00648, allocations: 4.375 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.006499, allocations: 4.375 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.006593, allocations: 58.88 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006602, allocations: 192 / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.006611, allocations: 12.12 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006616, allocations: 0 / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.006637, allocations: 15.92 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.006833, allocations: 175 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.006884, allocations: 42.56 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.006897, allocations: 4.859 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.006913, allocations: 4.094 kB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.006933, allocations: 38.48 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006934, allocations: 0 / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003985/0.007333, allocations: 137.5 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.007364, allocations: 51.41 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007476, allocations: 184.8 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.007487, allocations: 29.7 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.007532, allocations: 100.8 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.007553, allocations: 19.81 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.007582, allocations: 29.69 kB / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.007665, allocations: 318.8 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.00768, allocations: 11.94 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.007691, allocations: 4 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.007726, allocations: 32.81 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007726, allocations: 0 / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.238e-05/0.007789, allocations: 57.62 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.0078, allocations: 12 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.007803, allocations: 0 / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007815, allocations: 0 / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.007873, allocations: 19.92 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.007876, allocations: 0 / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.007894, allocations: 7.938 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.0079, allocations: 3.984 kB / 327.9 MB, free: 4.848 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 (8): * Single equations (assignments): 8 * 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.254e-05/0.007963, allocations: 116.7 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.007979, allocations: 7.938 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.008082, allocations: 79.41 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.008085, allocations: 8 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008087, allocations: 3.938 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.00809, allocations: 0 / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.00831, allocations: 247.5 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008311, allocations: 0 / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.008341, allocations: 15.98 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.008342, allocations: 0 / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.008347, allocations: 4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.00835, allocations: 4 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008351, allocations: 0 / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.312e-05/0.008434, allocations: 172.3 kB / 328.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.008443, allocations: 11.91 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.008453, allocations: 7.984 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.008482, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.008504, allocations: 7.984 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.008508, allocations: 4 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.008545, allocations: 47.66 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008545, allocations: 0 / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.008673, allocations: 23.98 kB / 328.6 MB, free: 4.031 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001151/0.009825, allocations: 0.5768 MB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.009897, allocations: 40.7 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.009899, allocations: 0 / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.009921, allocations: 20.86 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.01006, allocations: 20.3 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.01036, allocations: 227.6 kB / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.0104, allocations: 71.33 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.01043, allocations: 8.734 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01048, allocations: 59.36 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01048, allocations: 4.062 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Templates: time 0.00283/0.01331, allocations: 1.495 MB / 331.2 MB, free: 1.777 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.009081471711397]