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.0009703/0.0009703, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001046/0.001046, allocations: 169 kB / 24.14 MB, free: 356 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.8918/0.8918, 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.1394/0.1394, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.402e-06/1.402e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.064e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.004466/0.004487, allocations: 0.5718 MB / 299.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.004934, allocations: 228.2 kB / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.004954, allocations: 4 kB / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.005013, allocations: 0 / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.005047, allocations: 0 / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.005304, allocations: 43.77 kB / 299.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.005361, allocations: 19.92 kB / 300 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.005396, allocations: 3.984 kB / 300 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.005435, allocations: 8 kB / 300 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.005505, allocations: 23.89 kB / 300 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.005519, allocations: 4 kB / 300 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.005642, allocations: 51.95 kB / 300 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.005676, allocations: 15.98 kB / 300.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.005695, allocations: 11.94 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.005813, allocations: 67.83 kB / 300.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005815, allocations: 3.938 kB / 300.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005815, allocations: 4 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005818, allocations: 0 / 300.1 MB, free: 1.125 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.0002777/0.006096, allocations: 256.7 kB / 300.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.006126, allocations: 12.03 kB / 300.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.006152, allocations: 4.938 kB / 300.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.006242, allocations: 129.6 kB / 300.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.00625, allocations: 384 / 300.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.006268, allocations: 12.34 kB / 300.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.393e-05/0.006342, allocations: 58.8 kB / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006351, allocations: 192 / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.006359, allocations: 8.359 kB / 300.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.006365, allocations: 4.375 kB / 300.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.006385, allocations: 11.88 kB / 300.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.836e-05/0.006484, allocations: 66.7 kB / 300.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.006534, allocations: 32.27 kB / 300.7 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.006554, allocations: 8.859 kB / 300.7 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.006588, allocations: 8 kB / 300.7 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.006609, allocations: 34.56 kB / 300.8 MB, free: 396 kB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.00661, allocations: 0 / 300.8 MB, free: 396 kB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.1282/0.1349, allocations: 364.2 kB / 301.1 MB, free: 19.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.1349, allocations: 52.12 kB / 301.2 MB, free: 19.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.1349, allocations: 121.4 kB / 301.3 MB, free: 19.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.135, allocations: 26.89 kB / 301.3 MB, free: 19.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/0.135, allocations: 89.19 kB / 301.4 MB, free: 19.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.135, allocations: 19.67 kB / 301.4 MB, free: 19.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.135, allocations: 22.25 kB / 301.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.1351, allocations: 322.8 kB / 301.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1351, allocations: 5.734 kB / 301.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.1351, allocations: 25.02 kB / 301.8 MB, free: 19.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.1351, allocations: 32.69 kB / 301.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1351, allocations: 0 / 301.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.68e-05/0.1352, allocations: 58.42 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1352, allocations: 4.625 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.1352, allocations: 12.69 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1353, allocations: 1.25 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.1353, allocations: 13.33 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.1353, allocations: 3.531 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.1353, allocations: 4.344 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1354, allocations: 5.219 kB / 301.9 MB, free: 19.09 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 3.722e-05/0.1354, allocations: 118.1 kB / 302 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.1354, allocations: 4.781 kB / 302.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1355, allocations: 76.06 kB / 302.1 MB, free: 18.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1355, allocations: 2.828 kB / 302.1 MB, free: 18.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1355, allocations: 0.5938 kB / 302.1 MB, free: 18.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1355, allocations: 0 / 302.1 MB, free: 18.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1357, allocations: 260.7 kB / 302.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.1357, allocations: 49.89 kB / 302.4 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1358, allocations: 10.33 kB / 302.4 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1358, allocations: 5.781 kB / 302.4 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.1358, allocations: 0.9844 kB / 302.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1358, allocations: 2.812 kB / 302.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1358, allocations: 0 / 302.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.1359, allocations: 202.4 kB / 302.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.1359, allocations: 10.11 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1359, allocations: 3.234 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.1359, allocations: 3 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1359, allocations: 4.828 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1359, allocations: 6.938 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.136, allocations: 24.69 kB / 302.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.136, allocations: 0 / 302.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.1361, allocations: 43.14 kB / 302.7 MB, free: 18.48 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.0001524/0.1363, allocations: 135.4 kB / 302.9 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.215e-05/0.1363, allocations: 24.5 kB / 302.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1363, allocations: 2.531 kB / 302.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.1364, allocations: 81.88 kB / 303 MB, free: 18.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.1365, allocations: 3.156 kB / 303 MB, free: 18.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.1367, allocations: 169.2 kB / 303.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.1367, allocations: 63.03 kB / 303.2 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.604e-05/0.1367, allocations: 8.922 kB / 303.2 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1368, allocations: 65.88 kB / 303.3 MB, free: 18.09 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1368, allocations: 0 / 303.3 MB, free: 18.09 MB / 282.7 MB Notification: Performance of Templates: time 0.003009/0.1398, allocations: 1.355 MB / 304.6 MB, free: 18.01 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 -s gbode -gbm=radauIIA3 -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.782067711930722]