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.0007613/0.0007613, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001786, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006981/0.0006981, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001582, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.029/1.029, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2002/1.229, allocations: 49.51 MB / 220.5 MB, free: 5.266 MB / 218.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.142/0.142, allocations: 32.33 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.1677, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.372e-06/1.372e-06, allocations: 0 / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.848e-05, allocations: 6.25 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001485/0.001513, allocations: 0.5671 MB / 267.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.001846, allocations: 232.1 kB / 268 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.001871, allocations: 0 / 268 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.001917, allocations: 0 / 268 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.001951, allocations: 7.922 kB / 268 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.002262, allocations: 35.89 kB / 268 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.002349, allocations: 19.92 kB / 268.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.002408, allocations: 4 kB / 268.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.002497, allocations: 11.97 kB / 268.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.002625, allocations: 15.98 kB / 268.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.002649, allocations: 4 kB / 268.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.002855, allocations: 67.81 kB / 268.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.002906, allocations: 8 kB / 268.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.002939, allocations: 7.938 kB / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.003115, allocations: 63.8 kB / 268.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-05/0.003141, allocations: 0 / 268.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.003143, allocations: 0 / 268.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.003167, allocations: 0 / 268.2 MB, free: 5.496 MB / 266.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.0004574/0.003624, allocations: 272.3 kB / 268.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.003663, allocations: 8.031 kB / 268.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.003695, allocations: 4.938 kB / 268.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.003806, allocations: 125.7 kB / 268.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.003818, allocations: 4.375 kB / 268.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.003841, allocations: 384 / 268.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003953, allocations: 62.78 kB / 268.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.003964, allocations: 192 / 268.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.003973, allocations: 8.375 kB / 268.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003979, allocations: 4.312 kB / 268.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.004003, allocations: 7.938 kB / 268.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.004109, allocations: 66.64 kB / 268.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.004172, allocations: 40.25 kB / 268.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.004186, allocations: 8.844 kB / 268.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.004243, allocations: 16.08 kB / 268.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.004266, allocations: 34.56 kB / 268.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.004267, allocations: 0 / 268.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008416/0.005109, allocations: 433.8 kB / 269.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.005139, allocations: 51.41 kB / 269.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.005211, allocations: 126.7 kB / 269.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005223, allocations: 25.7 kB / 269.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.005248, allocations: 92.12 kB / 269.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.005272, allocations: 11.86 kB / 269.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.005302, allocations: 21.7 kB / 269.6 MB, free: 3.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.005381, allocations: 318.8 kB / 269.9 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.005393, allocations: 10.83 kB / 270 MB, free: 3.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.005413, allocations: 17.7 kB / 270 MB, free: 3.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.005459, allocations: 43.28 kB / 270 MB, free: 3.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.005461, allocations: 3.938 kB / 270 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.233e-05/0.005533, allocations: 55.28 kB / 270.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.005549, allocations: 4 kB / 270.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.00558, allocations: 11.98 kB / 270.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.005593, allocations: 480 / 270.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.005665, allocations: 11.98 kB / 270.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00567, allocations: 4 kB / 270.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.005691, allocations: 7.938 kB / 270.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.005698, allocations: 0 / 270.1 MB, free: 3.367 MB / 266.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 7.556e-05/0.005774, allocations: 116.7 kB / 270.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.005788, allocations: 7.938 kB / 270.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.005928, allocations: 61.8 kB / 270.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.005933, allocations: 3.984 kB / 270.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.005936, allocations: 0 / 270.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.005941, allocations: 0 / 270.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.00622, allocations: 258.5 kB / 270.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/0.006257, allocations: 45.69 kB / 270.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.006314, allocations: 12.3 kB / 270.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.006327, allocations: 7.953 kB / 270.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.00633, allocations: 4 kB / 270.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.006339, allocations: 4 kB / 270.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.006342, allocations: 3.938 kB / 270.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006344, allocations: 0 / 270.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.006526, allocations: 206.2 kB / 270.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.006541, allocations: 0 / 270.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.006587, allocations: 4 kB / 270.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.006608, allocations: 7.922 kB / 270.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.006616, allocations: 4 kB / 270.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.006643, allocations: 20.84 kB / 270.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006644, allocations: 4.031 kB / 270.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.006851, allocations: 39.94 kB / 270.9 MB, free: 2.508 MB / 266.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.0002041/0.007056, allocations: 136.2 kB / 271 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.007156, allocations: 24.78 kB / 271.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.007162, allocations: 4 kB / 271.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.007221, allocations: 72.19 kB / 271.1 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.007371, allocations: 8 kB / 271.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.007719, allocations: 161.1 kB / 271.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.007772, allocations: 63.34 kB / 271.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.007809, allocations: 12.05 kB / 271.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.007873, allocations: 59.38 kB / 271.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of SimCode: time 1.193e-06/0.007874, allocations: 0 / 271.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Templates: time 0.003387/0.01126, allocations: 1.332 MB / 272.8 MB, free: 0.5742 MB / 266.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 -ignoreHideResult -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.806965133175254]