Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.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.0008887/0.0008887, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002064, 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.0007405/0.0007405, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.001646, 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 0.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/1.097, allocations: 53.66 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.2763/0.2763, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0288/0.3051, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.519e-05, allocations: 3.5 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001018/0.001033, allocations: 0.5636 MB / 291.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.001364, allocations: 226.8 kB / 291.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.001386, allocations: 0 / 291.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.001429, allocations: 0 / 291.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.478e-05/0.001453, allocations: 1.25 kB / 291.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.001677, allocations: 47.69 kB / 291.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.001751, allocations: 12.41 kB / 291.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.001802, allocations: 5.141 kB / 291.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.001868, allocations: 15.58 kB / 291.5 MB, free: 7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.001957, allocations: 23.91 kB / 291.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.001974, allocations: 2.125 kB / 291.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.002116, allocations: 49.92 kB / 291.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.002158, allocations: 14.77 kB / 291.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.002181, allocations: 7.812 kB / 291.6 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.00232, allocations: 59 kB / 291.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-05/0.002338, allocations: 0 / 291.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.002339, allocations: 4 kB / 291.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.00236, allocations: 0 / 291.6 MB, free: 6.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000482/0.002842, allocations: 269.9 kB / 291.9 MB, free: 6.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.00288, allocations: 8 kB / 291.9 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.002916, allocations: 11.86 kB / 291.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.003032, allocations: 121.2 kB / 292 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.003044, allocations: 384 / 292 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.003065, allocations: 3.562 kB / 292 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.003175, allocations: 62.31 kB / 292.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.003187, allocations: 4.141 kB / 292.1 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.003195, allocations: 5.844 kB / 292.1 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003201, allocations: 384 / 292.1 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.003227, allocations: 10.77 kB / 292.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.003335, allocations: 70.3 kB / 292.2 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.003406, allocations: 38.66 kB / 292.2 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.003422, allocations: 6.594 kB / 292.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/0.003484, allocations: 10.14 kB / 292.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.003513, allocations: 32.16 kB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003513, allocations: 0 / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008585/0.004372, allocations: 431.1 kB / 292.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.004406, allocations: 56.75 kB / 292.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.004498, allocations: 127.7 kB / 292.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.00451, allocations: 31.14 kB / 292.9 MB, free: 5.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.004541, allocations: 81.55 kB / 293 MB, free: 5.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.004574, allocations: 30.11 kB / 293 MB, free: 5.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.004604, allocations: 15.56 kB / 293 MB, free: 5.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004705, allocations: 324 kB / 293.3 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.004718, allocations: 6.609 kB / 293.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.004743, allocations: 18.88 kB / 293.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.004787, allocations: 36.75 kB / 293.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004789, allocations: 1.375 kB / 293.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.223e-05/0.004851, allocations: 54.38 kB / 293.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.004869, allocations: 10.02 kB / 293.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.004893, allocations: 16.28 kB / 293.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.004903, allocations: 0 / 293.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.004962, allocations: 14.55 kB / 293.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.004966, allocations: 0 / 293.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.004982, allocations: 5.062 kB / 293.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.004997, allocations: 2.344 kB / 293.5 MB, free: 5.047 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.096e-05/0.005058, allocations: 115.2 kB / 293.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.005065, allocations: 6.016 kB / 293.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.005171, allocations: 64.05 kB / 293.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005173, allocations: 480 / 293.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.005175, allocations: 6 kB / 293.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005178, allocations: 0 / 293.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.005396, allocations: 254.9 kB / 293.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.005428, allocations: 45.81 kB / 294 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.005463, allocations: 7 kB / 294 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.005472, allocations: 9.344 kB / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005474, allocations: 2.375 kB / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005481, allocations: 4 kB / 294 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.005484, allocations: 3.938 kB / 294 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.005486, allocations: 4.297 kB / 294 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.005614, allocations: 202.6 kB / 294.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.005627, allocations: 8.062 kB / 294.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.005663, allocations: 3.781 kB / 294.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.00568, allocations: 7.875 kB / 294.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.005684, allocations: 3.938 kB / 294.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.124e-05/0.005705, allocations: 25.3 kB / 294.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005705, allocations: 0.75 kB / 294.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.005867, allocations: 52.8 kB / 294.3 MB, free: 4.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse2,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001607/0.006028, allocations: 125.5 kB / 294.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.006098, allocations: 24.89 kB / 294.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.006104, allocations: 7.984 kB / 294.5 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.006148, allocations: 68.2 kB / 294.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.006265, allocations: 8 kB / 294.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.006505, allocations: 167.3 kB / 294.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.006542, allocations: 63.34 kB / 294.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.006563, allocations: 4 kB / 294.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.006615, allocations: 63.36 kB / 294.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006616, allocations: 4.062 kB / 294.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Templates: time 0.002947/0.009563, allocations: 1.308 MB / 296.1 MB, free: 2.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestInterpolateParametric/TestInterpolateParametric.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.998222863301635]