Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001164/0.001164, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002755, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002393, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/1.17, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2925/0.2925, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03118/0.3236, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.96e-05, allocations: 4.531 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002861/0.002891, allocations: 1.681 MB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004537, allocations: 1.309 MB / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.00461, allocations: 7.719 kB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.004778, allocations: 22.44 kB / 293.6 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.005031, allocations: 81.42 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.0053, allocations: 87.02 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.00546, allocations: 72.83 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005562, allocations: 15.91 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005663, allocations: 43.92 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.005824, allocations: 37.16 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.005842, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.006052, allocations: 99.81 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.006096, allocations: 11.94 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.006122, allocations: 8 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006337, allocations: 127.5 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.006354, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006355, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.00637, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.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.000477/0.006847, allocations: 312.7 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006883, allocations: 12.03 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.006919, allocations: 8.938 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.007093, allocations: 137.5 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.007104, allocations: 4.375 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.007125, allocations: 4.375 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.007278, allocations: 94.36 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.007287, allocations: 192 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007298, allocations: 4.125 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007303, allocations: 0 / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.007331, allocations: 7.984 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.007598, allocations: 171 kB / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.007773, allocations: 30.56 kB / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.007792, allocations: 12.92 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.007812, allocations: 0 / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.007838, allocations: 34.56 kB / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.007839, allocations: 0 / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003546/0.008193, allocations: 77.62 kB / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.008231, allocations: 55.41 kB / 295.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.008354, allocations: 142 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.008366, allocations: 29.7 kB / 295.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.008411, allocations: 100 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.008432, allocations: 15.84 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.008467, allocations: 17.72 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.00857, allocations: 322.8 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.008586, allocations: 4.062 kB / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.008626, allocations: 51.39 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.008666, allocations: 20.84 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008667, allocations: 0 / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.473e-05/0.008762, allocations: 49.62 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.008782, allocations: 8 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.008791, allocations: 0 / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.008805, allocations: 7.969 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.008886, allocations: 11.98 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00889, allocations: 0 / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.008914, allocations: 4 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.008921, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.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 8.174e-05/0.009003, allocations: 112.7 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.009025, allocations: 11.88 kB / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.009151, allocations: 58.14 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009155, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.009157, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009161, allocations: 8 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.009415, allocations: 210.8 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.009419, allocations: 4.25 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.009472, allocations: 15.98 kB / 296.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.009485, allocations: 7.953 kB / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.009488, allocations: 0 / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.009495, allocations: 7.984 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.009498, allocations: 0 / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0095, allocations: 0 / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.009601, allocations: 147.4 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.009617, allocations: 0 / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.009657, allocations: 8 kB / 296.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.009693, allocations: 7.984 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.009697, allocations: 0 / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.663e-05/0.009744, allocations: 33.53 kB / 296.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009744, allocations: 0 / 296.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.009959, allocations: 39.86 kB / 296.6 MB, free: 2.074 MB / 282.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.001664/0.01162, allocations: 0.6909 MB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.01173, allocations: 28.77 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.01173, allocations: 4 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.01175, allocations: 16.86 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01196, allocations: 38.31 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.0125, allocations: 154.5 kB / 297.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.01254, allocations: 63.34 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.01259, allocations: 19.83 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.01266, allocations: 71.36 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01266, allocations: 3.938 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of Templates: time 0.004398/0.01706, allocations: 2.013 MB / 299.7 MB, free: 15.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.2372544361278415]