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.001266/0.001266, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001061/0.001061, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2643/0.2643, allocations: 34.25 MB / 296.1 MB, free: 0.6797 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 1.723e-06/1.723e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.479e-05, allocations: 6.969 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001528/0.001553, allocations: 0.573 MB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004772/0.00203, allocations: 212 kB / 326.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.002058, allocations: 0 / 326.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.827e-05/0.002137, allocations: 0 / 326.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.002183, allocations: 7.984 kB / 326.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.002505, allocations: 43.77 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.002574, allocations: 19.92 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.002618, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.002659, allocations: 15.98 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.00274, allocations: 7.984 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.002756, allocations: 4 kB / 326.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.002891, allocations: 59.92 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.002929, allocations: 19.92 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.002948, allocations: 4 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003076, allocations: 75.77 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003079, allocations: 4 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.00308, allocations: 0 / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.003085, allocations: 0 / 326.3 MB, free: 6.645 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.0003458/0.003431, allocations: 262 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.003472, allocations: 8.031 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.003504, allocations: 8.938 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.003604, allocations: 114.3 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.003615, allocations: 4.375 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.003639, allocations: 12.31 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.003737, allocations: 62.78 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.003747, allocations: 4.188 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003755, allocations: 384 / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.003762, allocations: 4.375 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.003781, allocations: 7.922 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.003888, allocations: 70.7 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.003943, allocations: 32.17 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.003958, allocations: 12.98 kB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.003998, allocations: 8 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.00402, allocations: 30.56 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004021, allocations: 0 / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007468/0.004768, allocations: 372.4 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.00479, allocations: 51.41 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.004851, allocations: 123.9 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.004862, allocations: 33.64 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.004884, allocations: 92.11 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.004909, allocations: 27.73 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.004938, allocations: 21.69 kB / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.005013, allocations: 322.8 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.005025, allocations: 6.828 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.005045, allocations: 17.7 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.005082, allocations: 31.36 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005083, allocations: 0 / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.104e-05/0.005154, allocations: 55.28 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.005169, allocations: 8 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.005194, allocations: 16.02 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005205, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.005254, allocations: 15.92 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.005258, allocations: 4 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.005274, allocations: 3.938 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.005286, allocations: 4 kB / 328.1 MB, free: 4.602 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.665e-05/0.005343, allocations: 112.7 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.005352, allocations: 4 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.005461, allocations: 73.91 kB / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.005463, allocations: 0 / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005465, allocations: 3.938 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005468, allocations: 4 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.005659, allocations: 258.7 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/0.005688, allocations: 41.69 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.005724, allocations: 11.94 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005726, allocations: 4 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.005732, allocations: 4 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005733, allocations: 0 / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.005735, allocations: 0 / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.005855, allocations: 206.2 kB / 328.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.005866, allocations: 7.953 kB / 328.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005877, allocations: 4 kB / 328.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.005913, allocations: 0 / 328.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.005928, allocations: 11.92 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.005935, allocations: 4 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.724e-05/0.005953, allocations: 22.88 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005953, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.006117, allocations: 55.75 kB / 328.9 MB, free: 3.723 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.0001434/0.00626, allocations: 124.3 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.47e-05/0.006325, allocations: 32.83 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.006328, allocations: 0 / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.006371, allocations: 76.19 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.006486, allocations: 7.984 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.006727, allocations: 163.8 kB / 329.3 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.006762, allocations: 67.41 kB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.006789, allocations: 4 kB / 329.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.006848, allocations: 63.36 kB / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006849, allocations: 4 kB / 329.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of Templates: time 0.002878/0.009727, allocations: 1.361 MB / 330.8 MB, free: 1.77 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 -s gbode -gbm=radauIIA3 -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.9677748843096197]