Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001083/0.001083, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001254/0.001254, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.114/1.114, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2983/0.2983, allocations: 34.26 MB / 296.1 MB, free: 0.6641 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.69e-05, allocations: 5.266 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002162/0.002178, allocations: 1.646 MB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003428, allocations: 1.274 MB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.003485, allocations: 4 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.003694, allocations: 27.78 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.004012, allocations: 95.48 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.004263, allocations: 87.69 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.004475, allocations: 79.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.004562, allocations: 15.98 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.004618, allocations: 35.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.004705, allocations: 31.89 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.004719, allocations: 4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.00488, allocations: 91.88 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.004923, allocations: 15.94 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.004954, allocations: 27.91 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.00522, allocations: 135.5 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005222, allocations: 0 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.005224, allocations: 7.984 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.005228, allocations: 3.938 kB / 382.1 MB, free: 14.76 MB / 362.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.0004646/0.005692, allocations: 428 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.005733, allocations: 12.03 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.005776, allocations: 12.83 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005935, allocations: 144.4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.005945, allocations: 4.375 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.005966, allocations: 4.375 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.006114, allocations: 112 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006125, allocations: 192 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006139, allocations: 8.125 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.006145, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.006181, allocations: 15.92 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.006479, allocations: 260.3 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.006552, allocations: 47.11 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006576, allocations: 15.67 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.006606, allocations: 15.91 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.006635, allocations: 41.27 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.006636, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.007018, allocations: 117.6 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.007201, allocations: 81.11 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.007308, allocations: 195.7 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.007318, allocations: 25.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.007369, allocations: 142.9 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.007392, allocations: 31.73 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.007422, allocations: 27.36 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.007539, allocations: 0.4923 MB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.007554, allocations: 8 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.007593, allocations: 61.05 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.007628, allocations: 27.69 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007629, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.438e-05/0.007703, allocations: 77.5 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.007713, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007717, allocations: 0 / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.007726, allocations: 3.984 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.007786, allocations: 16 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007789, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.007809, allocations: 3.984 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.007815, allocations: 12.03 kB / 384.5 MB, free: 12.12 MB / 362.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.516e-05/0.00788, allocations: 156.5 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.007903, allocations: 16.27 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.008021, allocations: 82.75 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008024, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008027, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.008036, allocations: 7.984 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.008284, allocations: 329.8 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008284, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.008322, allocations: 19.98 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008323, allocations: 4 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.008329, allocations: 4 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.00833, allocations: 3.938 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008332, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.008447, allocations: 223.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008457, allocations: 7.938 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.008471, allocations: 8 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.008503, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.008529, allocations: 7.984 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.008531, allocations: 0 / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.034e-05/0.008592, allocations: 161.2 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008592, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.008773, allocations: 31.94 kB / 385.5 MB, free: 11 MB / 362.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.0009742/0.009747, allocations: 490.5 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.009835, allocations: 43.61 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009837, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.00986, allocations: 23.67 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01007, allocations: 34.8 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.01035, allocations: 190.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01038, allocations: 63.34 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.037e-05/0.01043, allocations: 17.02 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.0105, allocations: 102.1 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0105, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.004096/0.01459, allocations: 2.106 MB / 388.6 MB, free: 8.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1628938978537917]