Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0009252/0.0009252, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.0009206/0.0009206, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.8981/0.8981, allocations: 177.1 MB / 206 MB, free: 4.508 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.1325/0.1325, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.035e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001615/0.001626, allocations: 1.669 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00055/0.002176, allocations: 0.5415 MB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.002226, allocations: 0 / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.002443, allocations: 99.61 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.002633, allocations: 119.5 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.002786, allocations: 95.69 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.002898, allocations: 99.73 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.298e-05/0.002971, allocations: 19.98 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.003025, allocations: 55.81 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.003097, allocations: 59.86 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.003109, allocations: 4 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.003165, allocations: 43.92 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.003201, allocations: 31.91 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.003223, allocations: 15.88 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003336, allocations: 107.6 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.003337, allocations: 0 / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003338, allocations: 4 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.00334, allocations: 0 / 382.3 MB, free: 20.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002595/0.0036, allocations: 471.7 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.003625, allocations: 8.031 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.003654, allocations: 16.84 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.003743, allocations: 156.3 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.00375, allocations: 8.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.003766, allocations: 4.375 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.052e-05/0.003837, allocations: 66.92 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.003844, allocations: 192 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.003851, allocations: 16.12 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.003855, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.003881, allocations: 19.92 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.00406, allocations: 288.2 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.00411, allocations: 59.03 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.004125, allocations: 23.55 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.004138, allocations: 4 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.004149, allocations: 37.39 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 6.61e-07/0.00415, allocations: 0 / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000412/0.004562, allocations: 216.3 kB / 383.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.004578, allocations: 55.41 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.004663, allocations: 244 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.004671, allocations: 29.7 kB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.004706, allocations: 162.8 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.004727, allocations: 43.62 kB / 384.1 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.004754, allocations: 31.38 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.004794, allocations: 0.5078 MB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.004809, allocations: 8 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.004826, allocations: 19.98 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.004867, allocations: 51.66 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.004868, allocations: 0 / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.631e-05/0.004944, allocations: 92.72 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.004952, allocations: 4 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.004955, allocations: 4 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.004962, allocations: 7.922 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.005023, allocations: 27.97 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005026, allocations: 0 / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.005045, allocations: 11.94 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.005051, allocations: 8.109 kB / 384.9 MB, free: 17.56 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 (13): * Single equations (assignments): 13 * 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 3.907e-05/0.00509, allocations: 168.5 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.005113, allocations: 15.91 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.005226, allocations: 123.5 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005229, allocations: 4 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.00523, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005233, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.005452, allocations: 389.6 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.005453, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.005494, allocations: 31.95 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005496, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005502, allocations: 8 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005503, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.005504, allocations: 3.938 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.179e-05/0.005586, allocations: 255.5 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-06/0.005593, allocations: 7.953 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.005604, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.005639, allocations: 11.98 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.00566, allocations: 15.86 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.005664, allocations: 8 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.005703, allocations: 173 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005703, allocations: 3.938 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.00586, allocations: 27.92 kB / 386.1 MB, free: 16.26 MB / 314.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 (13): * Single equations (assignments): 13 * 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.000739/0.006599, allocations: 447.8 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.511e-05/0.006674, allocations: 63.58 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006675, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.006702, allocations: 35.61 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.00689, allocations: 36.41 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.007131, allocations: 262.6 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.007158, allocations: 79.19 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.007194, allocations: 20.41 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.007242, allocations: 90.19 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 4.6e-07/0.007243, allocations: 0 / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.002635/0.009878, allocations: 1.746 MB / 388.9 MB, free: 13.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.9312074594199657]