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.0009254/0.0009254, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.0008674/0.0008674, allocations: 171.7 kB / 24.92 MB, free: 8.727 MB / 18.57 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.9506/0.9506, allocations: 177.1 MB / 205.3 MB, free: 5.062 MB / 186.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.2548/0.2548, allocations: 34.26 MB / 296.1 MB, free: 0.6094 MB / 266.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 2.074e-06/2.074e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.387e-05, allocations: 2.312 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.002177/0.002211, allocations: 0.5194 MB / 325.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.002689, allocations: 212 kB / 326 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.002715, allocations: 4 kB / 326 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.971e-05/0.002785, allocations: 0 / 326 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.002825, allocations: 11.86 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.00314, allocations: 43.88 kB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.003195, allocations: 15.98 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.003235, allocations: 4 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.003271, allocations: 4 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.003352, allocations: 23.91 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003366, allocations: 0 / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.003467, allocations: 51.94 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.003504, allocations: 15.98 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.003525, allocations: 11.94 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.003643, allocations: 71.77 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003645, allocations: 3.938 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003646, allocations: 0 / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.003649, allocations: 0 / 326.2 MB, free: 6.715 MB / 298.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.000302/0.003951, allocations: 266.7 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.003982, allocations: 8.031 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.00401, allocations: 8.938 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.00409, allocations: 109.8 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.0041, allocations: 8.375 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.004119, allocations: 4.328 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.004203, allocations: 66.78 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.004216, allocations: 192 / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004223, allocations: 384 / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004229, allocations: 4.375 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.004245, allocations: 11.86 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.53e-05/0.004341, allocations: 70.69 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.911e-05/0.00439, allocations: 28.23 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.004407, allocations: 16.98 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.00445, allocations: 8 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.004472, allocations: 34.56 kB / 326.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.004474, allocations: 3.984 kB / 326.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007556/0.00523, allocations: 363.9 kB / 327.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.005262, allocations: 55.41 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.00534, allocations: 124.2 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.005353, allocations: 33.7 kB / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.005385, allocations: 88.11 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.005416, allocations: 19.8 kB / 327.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.005448, allocations: 25.69 kB / 327.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.005539, allocations: 318.8 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.005551, allocations: 2.828 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.005573, allocations: 25.69 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.005613, allocations: 31.3 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005614, allocations: 8 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.089e-05/0.005675, allocations: 47.34 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.005689, allocations: 8 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.005714, allocations: 15.92 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005725, allocations: 0 / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.005775, allocations: 15.98 kB / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.005779, allocations: 0 / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.005796, allocations: 7.938 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.005806, allocations: 0 / 328 MB, free: 4.68 MB / 298.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 5.794e-05/0.005864, allocations: 116.6 kB / 328.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.005872, allocations: 8 kB / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.005974, allocations: 73.86 kB / 328.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.005979, allocations: 3.984 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.00598, allocations: 0 / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005984, allocations: 0 / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.006187, allocations: 270.6 kB / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.006215, allocations: 41.69 kB / 328.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.006246, allocations: 4 kB / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006248, allocations: 480 / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006254, allocations: 4 kB / 328.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006256, allocations: 0 / 328.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006257, allocations: 0 / 328.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.006377, allocations: 214.1 kB / 328.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.006387, allocations: 7.953 kB / 328.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.006397, allocations: 3.984 kB / 328.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.00643, allocations: 4.031 kB / 328.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.006445, allocations: 15.92 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.00645, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.006471, allocations: 18.48 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006471, allocations: 0 / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.006632, allocations: 47.86 kB / 328.8 MB, free: 3.797 MB / 298.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.000152/0.006784, allocations: 128.3 kB / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.00685, allocations: 28.78 kB / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.006853, allocations: 0 / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.006898, allocations: 80.3 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.007009, allocations: 4.766 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.007267, allocations: 166.5 kB / 329.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.007311, allocations: 63.34 kB / 329.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.007338, allocations: 4 kB / 329.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.0074, allocations: 67.36 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007401, allocations: 0 / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of Templates: time 0.002959/0.01036, allocations: 1.357 MB / 330.7 MB, free: 1.852 MB / 298.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 -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.9508136077784]