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.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.001325/0.001325, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.00117/0.00117, allocations: 168 kB / 24.91 MB, free: 9.184 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 0.9639/0.9639, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.2872/0.2872, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.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.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 1.012e-06/1.012e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.45e-05, allocations: 6 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.00118/0.001204, allocations: 0.5244 MB / 323.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.001556, allocations: 207.3 kB / 323.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.001573, allocations: 0 / 323.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.001621, allocations: 7.938 kB / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.001649, allocations: 0 / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.001912, allocations: 47.81 kB / 324 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.001961, allocations: 15.92 kB / 324 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.001994, allocations: 15.91 kB / 324 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.002024, allocations: 8 kB / 324 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.002092, allocations: 19.97 kB / 324 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002106, allocations: 0 / 324 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.002199, allocations: 47.95 kB / 324.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.002237, allocations: 19.92 kB / 324.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.002255, allocations: 11.98 kB / 324.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.002362, allocations: 67.78 kB / 324.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-06/0.002363, allocations: 0 / 324.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002364, allocations: 0 / 324.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002367, allocations: 3.984 kB / 324.2 MB, free: 8.734 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.000261/0.002628, allocations: 258.5 kB / 324.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.002656, allocations: 8.031 kB / 324.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.002677, allocations: 12.92 kB / 324.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.757e-05/0.002764, allocations: 113.7 kB / 324.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.002772, allocations: 8.312 kB / 324.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.002791, allocations: 4.328 kB / 324.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.914e-05/0.00286, allocations: 62.78 kB / 324.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.002867, allocations: 192 / 324.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.002873, allocations: 384 / 324.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.002878, allocations: 4.359 kB / 324.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.002892, allocations: 7.938 kB / 324.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.794e-05/0.00298, allocations: 74.69 kB / 324.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.446e-05/0.003024, allocations: 36.17 kB / 324.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.003037, allocations: 8.859 kB / 324.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.003079, allocations: 12.12 kB / 324.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.003098, allocations: 34.56 kB / 324.8 MB, free: 8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003099, allocations: 0 / 324.8 MB, free: 8 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006606/0.003759, allocations: 368.1 kB / 325.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.003782, allocations: 51.41 kB / 325.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.003849, allocations: 126.7 kB / 325.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.003859, allocations: 29.7 kB / 325.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.003882, allocations: 84.12 kB / 325.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.003909, allocations: 27.78 kB / 325.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.003933, allocations: 13.72 kB / 325.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.004012, allocations: 326.8 kB / 325.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.004022, allocations: 10.7 kB / 325.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.004046, allocations: 29.7 kB / 325.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.004084, allocations: 27.36 kB / 325.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.004085, allocations: 4 kB / 325.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.685e-05/0.004141, allocations: 51.28 kB / 325.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.004151, allocations: 8 kB / 326 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.004174, allocations: 12.41 kB / 326 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.004183, allocations: 0 / 326 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.42e-05/0.004227, allocations: 11.94 kB / 326 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.00423, allocations: 0 / 326 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.004246, allocations: 7.938 kB / 326 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.004259, allocations: 16.05 kB / 326 MB, free: 6.688 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.247e-05/0.004311, allocations: 116.7 kB / 326.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.00432, allocations: 7.984 kB / 326.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.004416, allocations: 65.8 kB / 326.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004418, allocations: 4 kB / 326.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.004419, allocations: 0 / 326.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.004423, allocations: 0 / 326.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.004607, allocations: 262.6 kB / 326.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.004642, allocations: 49.67 kB / 326.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.004671, allocations: 4.312 kB / 326.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.004673, allocations: 3.938 kB / 326.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.00468, allocations: 4 kB / 326.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.004681, allocations: 4 kB / 326.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004683, allocations: 0 / 326.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.004804, allocations: 202.2 kB / 326.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.004814, allocations: 11.98 kB / 326.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.004823, allocations: 3.984 kB / 326.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.22e-05/0.004856, allocations: 0 / 326.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.004868, allocations: 7.938 kB / 326.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.004873, allocations: 0 / 326.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.391e-05/0.004897, allocations: 30.7 kB / 326.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004897, allocations: 0 / 326.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.005062, allocations: 47.86 kB / 326.8 MB, free: 5.812 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.0001398/0.005202, allocations: 136.2 kB / 326.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.005272, allocations: 28.84 kB / 327 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.005275, allocations: 0 / 327 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.005333, allocations: 68.2 kB / 327 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.005485, allocations: 8.656 kB / 327 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.005745, allocations: 171.2 kB / 327.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.005781, allocations: 63.34 kB / 327.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.005802, allocations: 4.062 kB / 327.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.005858, allocations: 71.36 kB / 327.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.005858, allocations: 0 / 327.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of Templates: time 0.002624/0.008482, allocations: 1.348 MB / 328.7 MB, free: 3.867 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.987751617562026]