Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0006955/0.0006955, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009218/0.001617, 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.0006894/0.0006894, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008209/0.00151, 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.9436/0.9436, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08872/1.032, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2968/0.2968, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02421/0.321, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.165e-05, allocations: 2.312 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.0009664/0.0009781, allocations: 0.5676 MB / 293.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.001241, allocations: 228 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.001256, allocations: 0 / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.001282, allocations: 0 / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.001301, allocations: 11.94 kB / 293.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.001455, allocations: 35.89 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.001502, allocations: 19.91 kB / 293.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.874e-05/0.001531, allocations: 0 / 293.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.001578, allocations: 16.48 kB / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.001639, allocations: 15.98 kB / 293.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.001653, allocations: 0 / 293.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.001765, allocations: 55.94 kB / 293.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.001792, allocations: 11.94 kB / 293.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.001806, allocations: 7.938 kB / 293.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.0019, allocations: 67.8 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.001913, allocations: 0 / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001913, allocations: 0 / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.001927, allocations: 0 / 293.6 MB, free: 5.289 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.00034/0.002267, allocations: 269.5 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.002295, allocations: 8.031 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.002324, allocations: 8.938 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.00246, allocations: 127.4 kB / 294 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.002472, allocations: 384 / 294 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.002487, allocations: 4.375 kB / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.327e-05/0.00256, allocations: 62.78 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.002568, allocations: 4.188 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.002574, allocations: 384 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.002579, allocations: 384 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.0026, allocations: 11.88 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.021e-05/0.00269, allocations: 78.64 kB / 294.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.002738, allocations: 32.27 kB / 294.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.002749, allocations: 8.859 kB / 294.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.00279, allocations: 4 kB / 294.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.002812, allocations: 38.56 kB / 294.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.002813, allocations: 0 / 294.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006443/0.003458, allocations: 442 kB / 294.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.003483, allocations: 51.41 kB / 294.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.003543, allocations: 118.7 kB / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.003552, allocations: 29.7 kB / 294.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.003575, allocations: 92.11 kB / 295 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.003605, allocations: 19.86 kB / 295 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.003632, allocations: 17.7 kB / 295 MB, free: 3.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.0037, allocations: 318.8 kB / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.003711, allocations: 6.828 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.00373, allocations: 25.69 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.003763, allocations: 31.31 kB / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003765, allocations: 3.984 kB / 295.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.226e-05/0.003817, allocations: 51.38 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.003826, allocations: 8 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.003847, allocations: 15.92 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.003855, allocations: 3.938 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.003905, allocations: 12 kB / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.003908, allocations: 0 / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.003923, allocations: 3.938 kB / 295.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.003932, allocations: 11.98 kB / 295.5 MB, free: 3.156 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 4.673e-05/0.003978, allocations: 108.7 kB / 295.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.004062, allocations: 4 kB / 295.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.004151, allocations: 65.73 kB / 295.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.004154, allocations: 4 kB / 295.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004155, allocations: 0 / 295.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004158, allocations: 0 / 295.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.004335, allocations: 262.6 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/0.004362, allocations: 41.94 kB / 296 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.004394, allocations: 8.062 kB / 296 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.004404, allocations: 11.94 kB / 296 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.004406, allocations: 0 / 296 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.004413, allocations: 8 kB / 296 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.004414, allocations: 3.938 kB / 296 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004415, allocations: 4 kB / 296 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.004529, allocations: 202.2 kB / 296.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.004539, allocations: 4 kB / 296.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.004577, allocations: 0 / 296.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.00459, allocations: 11.92 kB / 296.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.004593, allocations: 0 / 296.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.661e-05/0.00461, allocations: 19.72 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00461, allocations: 0 / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.004761, allocations: 47.88 kB / 296.3 MB, free: 2.301 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.0001377/0.004899, allocations: 128.3 kB / 296.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.004962, allocations: 33.06 kB / 296.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.004966, allocations: 0 / 296.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.005004, allocations: 72.23 kB / 296.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.826e-05/0.005102, allocations: 12 kB / 296.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.005295, allocations: 154.5 kB / 296.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.005326, allocations: 63.34 kB / 296.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.005346, allocations: 7.938 kB / 296.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.005389, allocations: 67.42 kB / 296.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.00539, allocations: 0 / 296.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Templates: time 0.002518/0.007907, allocations: 1.328 MB / 298.2 MB, free: 392 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7472885409370065]