Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002545, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002462, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.036/1.036, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09181/1.127, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3103/0.3103, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03255/0.3428, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.9e-05, allocations: 2.312 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.002095/0.002124, allocations: 0.5635 MB / 294.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.002548, allocations: 232.6 kB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.002578, allocations: 0 / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.002627, allocations: 3.938 kB / 294.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.768e-05/0.002655, allocations: 0 / 294.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.002991, allocations: 31.91 kB / 294.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.003078, allocations: 23.91 kB / 294.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.003133, allocations: 0 / 294.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.003209, allocations: 11.98 kB / 294.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.003312, allocations: 19.97 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.00333, allocations: 0 / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.003519, allocations: 63.89 kB / 294.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.003562, allocations: 11.94 kB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.003589, allocations: 7.938 kB / 294.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.003747, allocations: 55.86 kB / 294.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.076e-05/0.003768, allocations: 4 kB / 294.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003769, allocations: 0 / 294.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.003791, allocations: 0 / 294.9 MB, free: 4.195 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.0005054/0.004297, allocations: 273.5 kB / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004337, allocations: 8.922 kB / 295.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.00438, allocations: 8.922 kB / 295.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004502, allocations: 121.7 kB / 295.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004516, allocations: 4.375 kB / 295.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.004537, allocations: 384 / 295.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.004657, allocations: 70.72 kB / 295.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.004667, allocations: 192 / 295.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.004676, allocations: 384 / 295.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004683, allocations: 384 / 295.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.004711, allocations: 7.938 kB / 295.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.004848, allocations: 78.62 kB / 295.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.819e-05/0.004917, allocations: 32.23 kB / 295.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.004935, allocations: 8.859 kB / 295.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.004998, allocations: 16.12 kB / 295.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.005028, allocations: 34.5 kB / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.005029, allocations: 0 / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.001023/0.006052, allocations: 434 kB / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.006097, allocations: 55.41 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006198, allocations: 128.4 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.006215, allocations: 25.7 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.006253, allocations: 88.12 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.006291, allocations: 11.86 kB / 296.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.006336, allocations: 25.69 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.006435, allocations: 318.8 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.006453, allocations: 10.81 kB / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.006475, allocations: 17.7 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.006527, allocations: 35.3 kB / 296.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.00653, allocations: 4 kB / 296.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.713e-05/0.006617, allocations: 51.28 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006632, allocations: 10.5 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.006663, allocations: 15.98 kB / 296.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006675, allocations: 3.938 kB / 296.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.006755, allocations: 11.98 kB / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006759, allocations: 0 / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.006785, allocations: 7.938 kB / 296.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.006792, allocations: 0 / 296.7 MB, free: 2.066 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 8.56e-05/0.006878, allocations: 120.6 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.00689, allocations: 0 / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.007051, allocations: 69.78 kB / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.007054, allocations: 192 / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.00706, allocations: 4 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.007066, allocations: 3.984 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.007328, allocations: 258.6 kB / 297.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/0.007366, allocations: 41.69 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.007413, allocations: 8 kB / 297.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007426, allocations: 7.953 kB / 297.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.00743, allocations: 4 kB / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.007435, allocations: 0 / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.007438, allocations: 3.938 kB / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007439, allocations: 0 / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.007596, allocations: 206.2 kB / 297.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.007609, allocations: 0 / 297.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.007672, allocations: 7.984 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.007688, allocations: 3.938 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.007696, allocations: 4 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.007722, allocations: 22.72 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007722, allocations: 4.031 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000232/0.007954, allocations: 39.88 kB / 297.5 MB, free: 1.207 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.0002145/0.008168, allocations: 132.3 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.008258, allocations: 24.8 kB / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.008264, allocations: 0 / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.008325, allocations: 80.23 kB / 297.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.008481, allocations: 7.297 kB / 297.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.008769, allocations: 159.8 kB / 297.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.008815, allocations: 63.28 kB / 298 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.008844, allocations: 15.98 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.008906, allocations: 63.38 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008907, allocations: 0 / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.003805/0.01271, allocations: 1.325 MB / 299.4 MB, free: 15.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8590723760426044]