Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001067/0.001067, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001091/0.001091, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9758/0.9758, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.609e-05, allocations: 2.312 kB / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001718/0.001744, allocations: 0.5209 MB / 299.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000492/0.002236, allocations: 236.1 kB / 299.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.002261, allocations: 0 / 299.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.002322, allocations: 4 kB / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.002361, allocations: 7.922 kB / 299.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.00268, allocations: 39.84 kB / 299.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.002739, allocations: 19.91 kB / 299.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.002778, allocations: 7.984 kB / 299.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.002812, allocations: 12 kB / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.002889, allocations: 15.97 kB / 299.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.002903, allocations: 0 / 299.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.003012, allocations: 47.95 kB / 300 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.003052, allocations: 23.91 kB / 300 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.003072, allocations: 8 kB / 300 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.003207, allocations: 75.7 kB / 300.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003209, allocations: 0 / 300.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003211, allocations: 0 / 300.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.003214, allocations: 0 / 300.1 MB, free: 1.211 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.0003265/0.00354, allocations: 260.7 kB / 300.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.003576, allocations: 12.03 kB / 300.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.003602, allocations: 0.9375 kB / 300.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.003694, allocations: 125.6 kB / 300.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003704, allocations: 384 / 300.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.003725, allocations: 4.375 kB / 300.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.003809, allocations: 62.78 kB / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.003817, allocations: 192 / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.003823, allocations: 384 / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003828, allocations: 384 / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.003848, allocations: 15.86 kB / 300.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.003951, allocations: 74.7 kB / 300.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.004011, allocations: 32.22 kB / 300.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.004028, allocations: 16.92 kB / 300.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.004072, allocations: 8 kB / 300.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.004097, allocations: 34.56 kB / 300.7 MB, free: 484 kB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.004098, allocations: 0 / 300.7 MB, free: 484 kB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007962/0.004894, allocations: 363.5 kB / 301.1 MB, free: 60 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1358/0.1407, allocations: 51.41 kB / 301.1 MB, free: 19.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1408, allocations: 123.9 kB / 301.2 MB, free: 19.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1408, allocations: 26.61 kB / 301.2 MB, free: 19.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.1408, allocations: 87.95 kB / 301.3 MB, free: 19.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1409, allocations: 19.88 kB / 301.4 MB, free: 19.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1409, allocations: 19.95 kB / 301.4 MB, free: 19.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.141, allocations: 323.5 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.141, allocations: 7.75 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.141, allocations: 20.75 kB / 301.7 MB, free: 19.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.141, allocations: 28.92 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.141, allocations: 3.5 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.629e-05/0.1411, allocations: 62.48 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1411, allocations: 5.266 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/0.1412, allocations: 13.56 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1412, allocations: 1 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.1412, allocations: 10.75 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.1412, allocations: 0 / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1413, allocations: 5.875 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1413, allocations: 6.422 kB / 301.9 MB, free: 19.31 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.464e-05/0.1413, allocations: 121.9 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1413, allocations: 4.031 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1415, allocations: 67.83 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1415, allocations: 6.688 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1415, allocations: 0 / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1415, allocations: 1.156 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1417, allocations: 257.8 kB / 302.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.1417, allocations: 47.58 kB / 302.3 MB, free: 18.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.1417, allocations: 12.97 kB / 302.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1417, allocations: 0.5312 kB / 302.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1417, allocations: 6.406 kB / 302.4 MB, free: 18.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1417, allocations: 0 / 302.4 MB, free: 18.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1417, allocations: 7.438 kB / 302.4 MB, free: 18.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.1419, allocations: 202.7 kB / 302.6 MB, free: 18.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.1419, allocations: 3.234 kB / 302.6 MB, free: 18.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1419, allocations: 5.25 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.1419, allocations: 2.734 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.1419, allocations: 3.188 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.1419, allocations: 8.266 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.142, allocations: 23.39 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.142, allocations: 0.6562 kB / 302.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.1422, allocations: 43.39 kB / 302.7 MB, free: 18.71 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.0001637/0.1423, allocations: 131.2 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.1424, allocations: 28.36 kB / 302.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1424, allocations: 0 / 302.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.1424, allocations: 73.47 kB / 302.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.1425, allocations: 5.719 kB / 302.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.1428, allocations: 177.1 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.572e-05/0.1428, allocations: 63.52 kB / 303.1 MB, free: 18.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1428, allocations: 8.172 kB / 303.1 MB, free: 18.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1429, allocations: 69.28 kB / 303.2 MB, free: 18.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1429, allocations: 0 / 303.2 MB, free: 18.3 MB / 282.7 MB Notification: Performance of Templates: time 0.003529/0.1464, allocations: 1.359 MB / 304.6 MB, free: 18.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.972170492168516]