Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.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.00106/0.00106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.002814, allocations: 449.8 kB / 10.44 MB, free: 252 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.00109/0.00109, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002587, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.041/1.041, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.139, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.2543/0.2543, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02869/0.283, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.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.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.828e-05, allocations: 2.312 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001473/0.001491, allocations: 0.5735 MB / 293.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.001855, allocations: 228 kB / 293.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.001879, allocations: 4 kB / 293.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.376e-05/0.001953, allocations: 0 / 293.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.748e-05/0.00197, allocations: 7.938 kB / 293.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.002185, allocations: 39.83 kB / 293.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.002263, allocations: 28.41 kB / 293.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.002305, allocations: 0 / 293.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.002363, allocations: 15.98 kB / 293.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.002474, allocations: 19.91 kB / 293.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.002492, allocations: 4 kB / 293.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.002634, allocations: 63.92 kB / 293.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.002667, allocations: 4 kB / 293.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.002692, allocations: 15.94 kB / 293.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.002835, allocations: 63.75 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.002847, allocations: 4 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002848, allocations: 0 / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.002863, allocations: 0 / 293.9 MB, free: 5.172 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003897/0.003252, allocations: 265.6 kB / 294.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.003289, allocations: 8.031 kB / 294.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.003321, allocations: 4.938 kB / 294.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.003409, allocations: 113.8 kB / 294.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.003419, allocations: 384 / 294.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.00344, allocations: 4.375 kB / 294.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.00353, allocations: 82.72 kB / 294.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-06/0.003533, allocations: 4.188 kB / 294.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003539, allocations: 384 / 294.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.003569, allocations: 12.36 kB / 294.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.003603, allocations: 28.91 kB / 294.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.765e-05/0.003681, allocations: 90.58 kB / 294.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.0038, allocations: 57.38 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.003832, allocations: 24.84 kB / 294.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.003855, allocations: 16 kB / 294.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.003875, allocations: 34.5 kB / 294.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 7.41e-07/0.003876, allocations: 0 / 294.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001969/0.005845, allocations: 1.699 MB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.005869, allocations: 55.64 kB / 296.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.005907, allocations: 98.7 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.005927, allocations: 29.7 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.005949, allocations: 84.64 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.006006, allocations: 99.11 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.006069, allocations: 57.66 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.006144, allocations: 326.9 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.006251, allocations: 154.8 kB / 297.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.006355, allocations: 152 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.006589, allocations: 347.4 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.00659, allocations: 0 / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002738/0.006864, allocations: 381.5 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.006873, allocations: 8 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/0.007091, allocations: 320.4 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.007097, allocations: 0 / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.007254, allocations: 83.86 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.007256, allocations: 0 / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.007288, allocations: 12 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.007316, allocations: 27.98 kB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 30 * 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.81e-05/0.007384, allocations: 124.6 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.007411, allocations: 19.92 kB / 298.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.007907, allocations: 463.3 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.007912, allocations: 7.984 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.007914, allocations: 4 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007917, allocations: 0 / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.008492, allocations: 0.6848 MB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002277/0.00872, allocations: 301.5 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.008825, allocations: 51.92 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.008836, allocations: 15.91 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.008841, allocations: 4 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.008859, allocations: 15.98 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008862, allocations: 4 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.008865, allocations: 7.938 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.009325, allocations: 0.6338 MB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.009348, allocations: 11.98 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.009412, allocations: 16.06 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.009454, allocations: 39.83 kB / 300.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.009486, allocations: 35.98 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.662e-06/0.009492, allocations: 4.859 kB / 300.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009492, allocations: 0 / 300.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.009689, allocations: 83.88 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse14,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0001523/0.009841, allocations: 148.2 kB / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.01013, allocations: 362 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.01014, allocations: 8.094 kB / 301.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.01045, allocations: 0.5791 MB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.0106, allocations: 43.08 kB / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.01235, allocations: 1.207 MB / 303.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.0124, allocations: 85.05 kB / 303.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.802e-05/0.01249, allocations: 49.64 kB / 303.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.01272, allocations: 151.3 kB / 303.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01272, allocations: 0 / 303.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Templates: time 0.004747/0.01747, allocations: 3.749 MB / 307.4 MB, free: 7.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestInterpolateTimeVarying/TestInterpolateTimeVarying.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.8699155719950795]