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.001078/0.001078, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002244, allocations: 452 kB / 10.43 MB, free: 264 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.0006912/0.0006912, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009637/0.001655, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.8026/0.8026, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1362/0.9389, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1156/0.1156, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01893/0.1345, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.663e-06/1.663e-06, allocations: 3.938 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.696e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001439/0.001456, allocations: 0.5789 MB / 268 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.001845, allocations: 228.1 kB / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.001865, allocations: 0 / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.001901, allocations: 0 / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.001931, allocations: 3.938 kB / 268.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.002185, allocations: 43.88 kB / 268.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.002253, allocations: 19.92 kB / 268.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.002295, allocations: 4 kB / 268.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.002359, allocations: 11.98 kB / 268.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.002459, allocations: 19.91 kB / 268.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.002479, allocations: 0 / 268.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.002638, allocations: 63.88 kB / 268.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.002675, allocations: 8 kB / 268.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.002697, allocations: 7.938 kB / 268.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.002843, allocations: 63.75 kB / 268.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.002853, allocations: 4 kB / 268.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002854, allocations: 0 / 268.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.002863, allocations: 0 / 268.4 MB, free: 1.516 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.0004128/0.003276, allocations: 272.4 kB / 268.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.003311, allocations: 8.031 kB / 268.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.003345, allocations: 4.938 kB / 268.7 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.003451, allocations: 117.7 kB / 268.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.003464, allocations: 4.375 kB / 268.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.003488, allocations: 4.328 kB / 268.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.003579, allocations: 66.78 kB / 268.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.003589, allocations: 8.172 kB / 268.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.003597, allocations: 384 / 268.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.003609, allocations: 8.312 kB / 268.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003633, allocations: 3.938 kB / 268.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.003742, allocations: 70.64 kB / 269 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.003807, allocations: 40.27 kB / 269 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.003821, allocations: 4.859 kB / 269 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.003866, allocations: 8 kB / 269 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.003889, allocations: 30.56 kB / 269.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.003891, allocations: 0 / 269.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008965/0.004787, allocations: 446.2 kB / 269.5 MB, free: 268 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.004813, allocations: 51.41 kB / 269.5 MB, free: 204 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.004893, allocations: 126.7 kB / 269.7 MB, free: 64 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.004906, allocations: 29.69 kB / 269.7 MB, free: 28 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.00495, allocations: 92.08 kB / 269.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.004982, allocations: 19.84 kB / 269.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.005019, allocations: 21.7 kB / 269.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.00511, allocations: 318.8 kB / 270.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.005125, allocations: 6.828 kB / 270.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.005152, allocations: 21.7 kB / 270.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.005202, allocations: 35.28 kB / 270.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005203, allocations: 0 / 270.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.579e-05/0.005288, allocations: 59.28 kB / 270.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005301, allocations: 8.031 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.00533, allocations: 11.98 kB / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005344, allocations: 0 / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.005409, allocations: 12 kB / 270.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005415, allocations: 3.984 kB / 270.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.005439, allocations: 3.938 kB / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.005448, allocations: 4 kB / 270.3 MB, free: 15.38 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 6.776e-05/0.005515, allocations: 116.7 kB / 270.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.005529, allocations: 7.938 kB / 270.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.005652, allocations: 57.8 kB / 270.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.005657, allocations: 8 kB / 270.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005658, allocations: 0 / 270.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005662, allocations: 0 / 270.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.005902, allocations: 258.6 kB / 270.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/0.005944, allocations: 45.98 kB / 270.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.005988, allocations: 11.98 kB / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.005999, allocations: 3.953 kB / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.006003, allocations: 4 kB / 270.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.006011, allocations: 4 kB / 270.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.006015, allocations: 3.938 kB / 270.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006016, allocations: 4 kB / 270.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.006164, allocations: 206.2 kB / 271 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.006177, allocations: 0 / 271 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.006239, allocations: 4 kB / 271 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.006258, allocations: 11.92 kB / 271 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.006262, allocations: 0 / 271 MB, free: 14.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.006292, allocations: 28.77 kB / 271.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006292, allocations: 0 / 271.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.006549, allocations: 39.94 kB / 271.1 MB, free: 14.52 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.0003279/0.006877, allocations: 128.3 kB / 271.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.006959, allocations: 28.84 kB / 271.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.006964, allocations: 4 kB / 271.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.007035, allocations: 83.02 kB / 271.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.007208, allocations: 12 kB / 271.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.007461, allocations: 157.1 kB / 271.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.007513, allocations: 67.33 kB / 271.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.718e-05/0.00754, allocations: 4 kB / 271.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.007599, allocations: 59.38 kB / 271.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0076, allocations: 4.094 kB / 271.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003545/0.01114, allocations: 1.336 MB / 273 MB, free: 12.56 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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.460962872952223]