Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001305/0.001305, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00224/0.003545, 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.001338/0.001338, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.003156, 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.121/1.121, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.24, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.3227/0.3227, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04188/0.3646, allocations: 12.53 MB / 289.3 MB, free: 8.688 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.CombiTable1Dv.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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.728e-05, allocations: 2.312 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00351/0.003527, allocations: 1.682 MB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005122, allocations: 1.312 MB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.005177, allocations: 0 / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.005307, allocations: 20.78 kB / 293.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.005517, allocations: 88.11 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.005787, allocations: 121.2 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.00592, allocations: 67.78 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.00601, allocations: 19.91 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.006107, allocations: 47.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006209, allocations: 31.89 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.006224, allocations: 4 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.006389, allocations: 91.88 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.006426, allocations: 11.94 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.006449, allocations: 8 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.00666, allocations: 131.5 kB / 294.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.006676, allocations: 0 / 294.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006677, allocations: 0 / 294.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.006695, allocations: 0 / 294.3 MB, free: 4.664 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.0004744/0.007169, allocations: 316.7 kB / 294.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.007207, allocations: 8.031 kB / 294.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.007246, allocations: 8.938 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.00742, allocations: 125.7 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.00743, allocations: 384 / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.007509, allocations: 12.31 kB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.007661, allocations: 98.34 kB / 294.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.007672, allocations: 192 / 294.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.007685, allocations: 8.125 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007692, allocations: 4 kB / 294.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.007719, allocations: 4 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.007985, allocations: 171 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.008157, allocations: 33.38 kB / 295 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.008178, allocations: 8.859 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.008196, allocations: 0 / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.008226, allocations: 38.62 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.008227, allocations: 4 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000322/0.008549, allocations: 77.62 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.008583, allocations: 55.41 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.008692, allocations: 138.7 kB / 295.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.008702, allocations: 33.69 kB / 295.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.008739, allocations: 96.08 kB / 295.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.008757, allocations: 11.84 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.008792, allocations: 21.7 kB / 295.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.008878, allocations: 318.8 kB / 295.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.00889, allocations: 7.984 kB / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.00893, allocations: 51.42 kB / 295.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.008966, allocations: 27.66 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.008967, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.298e-05/0.00903, allocations: 45.62 kB / 295.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.009043, allocations: 8 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.009047, allocations: 0 / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.009057, allocations: 0 / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.009109, allocations: 15.98 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.009111, allocations: 0 / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.009135, allocations: 7.938 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.009139, allocations: 4.031 kB / 296 MB, free: 2.754 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 6.245e-05/0.009202, allocations: 116.6 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.009226, allocations: 11.92 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.009323, allocations: 58.42 kB / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009325, allocations: 0 / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009326, allocations: 0 / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.009332, allocations: 7.984 kB / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.009555, allocations: 206.8 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.009558, allocations: 3.938 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.009594, allocations: 8.312 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.009607, allocations: 19.94 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.009609, allocations: 0 / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.009615, allocations: 4 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.009616, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009617, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.009812, allocations: 151.4 kB / 296.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.009826, allocations: 3.984 kB / 296.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.009874, allocations: 4 kB / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.009899, allocations: 4 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.009901, allocations: 0 / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.009941, allocations: 33.53 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009941, allocations: 4 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.01016, allocations: 35.88 kB / 296.6 MB, free: 2.035 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.001838/0.012, allocations: 0.6985 MB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.01208, allocations: 24.84 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01209, allocations: 0 / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.01211, allocations: 16.8 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01231, allocations: 42.3 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.01273, allocations: 166.5 kB / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.01277, allocations: 59.34 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.01282, allocations: 19.83 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.01288, allocations: 67.36 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01288, allocations: 0 / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004124/0.01701, allocations: 2.033 MB / 299.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.195817400701344]