Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009177/0.0009177, allocations: 80.92 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.001065/0.001065, allocations: 170.1 kB / 24.91 MB, free: 8.723 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.9246/0.9246, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.142/0.142, allocations: 32.8 MB / 294.6 MB, free: 15.45 MB / 282.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 323.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.568e-05, allocations: 6.25 kB / 323.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002559/0.002584, allocations: 1.656 MB / 324.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004057, allocations: 1.29 MB / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.004117, allocations: 0 / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.004351, allocations: 27.78 kB / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.004634, allocations: 83.56 kB / 326.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.004871, allocations: 99.62 kB / 326.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.005057, allocations: 87.69 kB / 326.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00516, allocations: 8 kB / 326.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.005229, allocations: 39.89 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.005341, allocations: 23.92 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.005357, allocations: 4 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.005532, allocations: 95.81 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.005583, allocations: 19.91 kB / 326.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.005613, allocations: 19.92 kB / 326.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005834, allocations: 139.5 kB / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005838, allocations: 4 kB / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005839, allocations: 0 / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005843, allocations: 0 / 326.8 MB, free: 15.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003541/0.006197, allocations: 308.3 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006232, allocations: 11.98 kB / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.006265, allocations: 4.938 kB / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.006407, allocations: 145.5 kB / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.006415, allocations: 384 / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.006438, allocations: 8.359 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.00658, allocations: 102.3 kB / 327.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.00659, allocations: 192 / 327.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.0066, allocations: 8.125 kB / 327.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006606, allocations: 0 / 327.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.006633, allocations: 15.92 kB / 327.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.00688, allocations: 183 kB / 327.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/0.006949, allocations: 34.55 kB / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.006968, allocations: 12.98 kB / 327.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.006991, allocations: 4 kB / 327.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.007015, allocations: 34.5 kB / 327.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.007016, allocations: 0 / 327.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003235/0.007339, allocations: 117.8 kB / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.007376, allocations: 81.05 kB / 327.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.00748, allocations: 144.3 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.007492, allocations: 33.7 kB / 328 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.007526, allocations: 92.11 kB / 328.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.007546, allocations: 19.75 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.007577, allocations: 29.69 kB / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.007652, allocations: 318.8 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.007666, allocations: 7.984 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.007696, allocations: 43.42 kB / 328.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.007729, allocations: 28.83 kB / 328.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.00773, allocations: 4.031 kB / 328.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.149e-05/0.007802, allocations: 65.55 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007815, allocations: 7.438 kB / 328.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00782, allocations: 4 kB / 328.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007832, allocations: 0 / 328.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.007905, allocations: 15.98 kB / 328.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.007908, allocations: 0 / 328.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.007929, allocations: 4 kB / 328.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.007933, allocations: 0 / 328.7 MB, free: 13.15 MB / 314.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 5.694e-05/0.00799, allocations: 112.7 kB / 328.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.008008, allocations: 19.92 kB / 328.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.008113, allocations: 74.69 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008116, allocations: 3.984 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.008118, allocations: 0 / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008123, allocations: 0 / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.008382, allocations: 238.7 kB / 329.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008383, allocations: 0 / 329.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.008422, allocations: 15.94 kB / 329.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008424, allocations: 0 / 329.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.008428, allocations: 0 / 329.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008431, allocations: 7.984 kB / 329.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008432, allocations: 0 / 329.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.956e-05/0.008512, allocations: 155.5 kB / 329.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008523, allocations: 11.95 kB / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.008533, allocations: 0 / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.008564, allocations: 4 kB / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.008585, allocations: 3.984 kB / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.008589, allocations: 0 / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.008623, allocations: 39.84 kB / 329.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008623, allocations: 0 / 329.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008794, allocations: 43.8 kB / 329.4 MB, free: 12.37 MB / 314.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 (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.001217/0.01001, allocations: 0.6337 MB / 330 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.0101, allocations: 28.84 kB / 330 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.0101, allocations: 0 / 330 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.01012, allocations: 24.78 kB / 330.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.01027, allocations: 31.38 kB / 330.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.01057, allocations: 178.3 kB / 330.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.0106, allocations: 63.34 kB / 330.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01064, allocations: 21.02 kB / 330.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.01071, allocations: 71.36 kB / 330.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01071, allocations: 0 / 330.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003845/0.01455, allocations: 2.105 MB / 332.5 MB, free: 9.465 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.0817752690054476]