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.001037/0.001037, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009977/0.0009977, allocations: 169 kB / 24.91 MB, free: 8.723 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.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.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.1443/0.1443, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.894e-06/1.894e-06, allocations: 0 / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.107e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002133/0.002164, allocations: 0.5625 MB / 325.8 MB, free: 188 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005575/0.002721, allocations: 219.3 kB / 326 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.002749, allocations: 0 / 326 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.002891, allocations: 7.938 kB / 326.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.077e-05/0.002921, allocations: 11.98 kB / 326.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.003224, allocations: 43.77 kB / 326.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.003297, allocations: 15.92 kB / 326.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.003339, allocations: 4 kB / 326.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.00338, allocations: 11.98 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.003491, allocations: 31.89 kB / 326.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003507, allocations: 0 / 326.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.003655, allocations: 59.94 kB / 326.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.003684, allocations: 7.984 kB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.003709, allocations: 15.94 kB / 326.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003856, allocations: 79.81 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.00386, allocations: 0 / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.003861, allocations: 0 / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003865, allocations: 0 / 326.3 MB, free: 15.68 MB / 314.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.0003678/0.004233, allocations: 252.8 kB / 326.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004268, allocations: 12.03 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.004303, allocations: 8.875 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.00439, allocations: 113.7 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.004402, allocations: 4.359 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.004423, allocations: 4.375 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.004544, allocations: 82.78 kB / 326.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.004555, allocations: 192 / 326.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004563, allocations: 384 / 326.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.004598, allocations: 12.36 kB / 326.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.004655, allocations: 31.86 kB / 326.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.004791, allocations: 94.56 kB / 326.9 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.004971, allocations: 53.39 kB / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.005014, allocations: 28.84 kB / 327 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.005053, allocations: 8 kB / 327 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.005085, allocations: 34.56 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.005089, allocations: 7.984 kB / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004361/0.009449, allocations: 2.169 MB / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.009485, allocations: 55.64 kB / 329.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.009546, allocations: 98.67 kB / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.009576, allocations: 33.7 kB / 329.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.009604, allocations: 80.64 kB / 329.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.009699, allocations: 99.14 kB / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.0098, allocations: 57.8 kB / 329.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.009898, allocations: 330.8 kB / 330 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.01006, allocations: 162.7 kB / 330.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01022, allocations: 152 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.01059, allocations: 347.4 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01059, allocations: 0 / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004634/0.01105, allocations: 369.6 kB / 331 MB, free: 10.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.01107, allocations: 7.438 kB / 331 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003544/0.01143, allocations: 324.3 kB / 331.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01144, allocations: 0 / 331.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.01168, allocations: 67.94 kB / 331.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01169, allocations: 15.92 kB / 331.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.01175, allocations: 4 kB / 331.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.0118, allocations: 35.98 kB / 331.4 MB, free: 10.37 MB / 314.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 0.0001019/0.0119, allocations: 116.7 kB / 331.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/0.01271, allocations: 19.94 kB / 331.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/0.0135, allocations: 482.4 kB / 332 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.0135, allocations: 4 kB / 332 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01351, allocations: 0 / 332 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01351, allocations: 0 / 332 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.01438, allocations: 0.6803 MB / 332.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003158/0.0147, allocations: 297 kB / 333 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.01489, allocations: 51.91 kB / 333.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.01489, allocations: 4 kB / 333.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.01492, allocations: 12 kB / 333.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.01493, allocations: 4 kB / 333.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.01493, allocations: 4 kB / 333.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.01556, allocations: 0.6362 MB / 333.7 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.01558, allocations: 23.83 kB / 333.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.01561, allocations: 12.16 kB / 333.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01572, allocations: 8 kB / 333.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.01578, allocations: 35.88 kB / 333.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.01583, allocations: 32 kB / 333.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.377e-05/0.01585, allocations: 12.8 kB / 333.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01585, allocations: 0 / 333.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.01619, allocations: 79.92 kB / 333.9 MB, free: 7.766 MB / 314.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.0002285/0.01641, allocations: 136.2 kB / 334 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.01683, allocations: 365.9 kB / 334.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.01683, allocations: 0 / 334.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.01717, allocations: 0.5482 MB / 335 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01739, allocations: 19.98 kB / 335 MB, free: 6.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.01983, allocations: 1.174 MB / 336.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.01989, allocations: 88.42 kB / 336.2 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.02004, allocations: 54.02 kB / 336.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.02035, allocations: 147.3 kB / 336.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02035, allocations: 0 / 336.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of Templates: time 0.004785/0.02514, allocations: 3.649 MB / 340.1 MB, free: 1.492 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1928527378477156]