Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000714/0.000714, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001732, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006262/0.0006262, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008787/0.001505, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9942/0.9942, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.147, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01929/0.1478, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.297e-06/1.007e-05, allocations: 4.984 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.0008995/0.0009096, allocations: 0.5751 MB / 286.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.001156, allocations: 226.1 kB / 286.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-06/0.001165, allocations: 4 kB / 286.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.00118, allocations: 0 / 286.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.093e-05/0.001191, allocations: 0 / 286.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.001305, allocations: 39.83 kB / 286.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.161e-05/0.001337, allocations: 19.92 kB / 286.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.011e-05/0.001357, allocations: 7.984 kB / 286.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.001389, allocations: 7.984 kB / 286.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.001431, allocations: 23.91 kB / 286.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.00144, allocations: 4 kB / 286.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.001518, allocations: 51.95 kB / 286.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.001538, allocations: 15.98 kB / 286.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.00155, allocations: 7.938 kB / 286.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.001624, allocations: 59.81 kB / 286.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.001629, allocations: 0 / 286.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00163, allocations: 0 / 286.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.001635, allocations: 3.938 kB / 286.9 MB, free: 7.391 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.0002404/0.001875, allocations: 272.3 kB / 287.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.96e-05/0.001895, allocations: 8.031 kB / 287.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.001914, allocations: 8.922 kB / 287.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.881e-05/0.001973, allocations: 113.8 kB / 287.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-06/0.001978, allocations: 384 / 287.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.001989, allocations: 4.375 kB / 287.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.059e-05/0.002039, allocations: 66.78 kB / 287.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-06/0.002043, allocations: 192 / 287.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-06/0.002047, allocations: 4.375 kB / 287.3 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-06/0.00205, allocations: 384 / 287.3 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.002062, allocations: 7.938 kB / 287.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.97e-05/0.002122, allocations: 78.58 kB / 287.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.002161, allocations: 40.22 kB / 287.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-06/0.002169, allocations: 4.859 kB / 287.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.002193, allocations: 12.12 kB / 287.5 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.002208, allocations: 34.56 kB / 287.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.002208, allocations: 0 / 287.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006199/0.002828, allocations: 433.7 kB / 287.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.002854, allocations: 51.41 kB / 288 MB, free: 6.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.002921, allocations: 134.7 kB / 288.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.002932, allocations: 29.7 kB / 288.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.002951, allocations: 84.12 kB / 288.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.002973, allocations: 19.83 kB / 288.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.002999, allocations: 17.72 kB / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.00307, allocations: 326.8 kB / 288.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.003079, allocations: 2.828 kB / 288.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.003095, allocations: 17.72 kB / 288.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.003127, allocations: 31.34 kB / 288.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.003128, allocations: 7.938 kB / 288.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.055e-05/0.003178, allocations: 59.33 kB / 288.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.003188, allocations: 4 kB / 288.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.003208, allocations: 11.94 kB / 288.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.00322, allocations: 4 kB / 288.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.762e-05/0.003258, allocations: 11.98 kB / 288.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.003261, allocations: 0 / 288.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.003275, allocations: 3.938 kB / 288.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.003279, allocations: 4 kB / 288.7 MB, free: 5.266 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 4.977e-05/0.003329, allocations: 108.7 kB / 288.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.003338, allocations: 16.02 kB / 288.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.003428, allocations: 66.16 kB / 288.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00343, allocations: 4 kB / 288.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.003432, allocations: 192 / 288.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.003438, allocations: 4 kB / 288.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.003625, allocations: 262.7 kB / 289.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.003654, allocations: 49.61 kB / 289.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.003682, allocations: 8 kB / 289.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.003689, allocations: 3.953 kB / 289.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.003691, allocations: 4 kB / 289.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.003695, allocations: 4 kB / 289.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.003698, allocations: 7.922 kB / 289.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003699, allocations: 0 / 289.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.003803, allocations: 202.2 kB / 289.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.003812, allocations: 3.938 kB / 289.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.003845, allocations: 0 / 289.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.003858, allocations: 11.94 kB / 289.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.003861, allocations: 0 / 289.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.00388, allocations: 23.34 kB / 289.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00388, allocations: 0 / 289.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.004032, allocations: 47.83 kB / 289.6 MB, free: 4.395 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.0001371/0.004169, allocations: 132.3 kB / 289.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.00423, allocations: 24.84 kB / 289.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.004235, allocations: 4 kB / 289.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.004286, allocations: 75.09 kB / 289.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.004401, allocations: 15.98 kB / 289.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.004624, allocations: 161.9 kB / 290 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.004656, allocations: 65.92 kB / 290 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.004677, allocations: 8.094 kB / 290 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.004725, allocations: 63.36 kB / 290.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.004725, allocations: 0 / 290.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of Templates: time 0.002691/0.007416, allocations: 1.341 MB / 291.4 MB, free: 2.441 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.7087892703711987]