Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008737, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009576/0.0009576, allocations: 165.3 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9521/0.9521, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2636/0.2636, allocations: 34.88 MB / 296.6 MB, free: 436 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.753e-05, allocations: 3.016 kB / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001114/0.001131, allocations: 0.5626 MB / 326.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000381/0.001512, allocations: 216.3 kB / 326.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.001533, allocations: 8 kB / 326.7 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.001681, allocations: 3.938 kB / 326.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.001705, allocations: 7.922 kB / 326.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.001934, allocations: 35.84 kB / 326.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.001994, allocations: 23.97 kB / 326.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.002027, allocations: 3.984 kB / 326.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.002063, allocations: 15.98 kB / 326.8 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.002159, allocations: 27.89 kB / 326.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.002174, allocations: 4 kB / 326.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.002287, allocations: 55.89 kB / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.002315, allocations: 15.98 kB / 326.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.002337, allocations: 16.55 kB / 326.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.002449, allocations: 71.83 kB / 327 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.002453, allocations: 3.984 kB / 327 MB, free: 6.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002454, allocations: 0 / 327 MB, free: 6.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.002457, allocations: 4 kB / 327 MB, free: 6.043 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0002897/0.002747, allocations: 246.2 kB / 327.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.002777, allocations: 8.031 kB / 327.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.002808, allocations: 12.91 kB / 327.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.002884, allocations: 113.7 kB / 327.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.002895, allocations: 8.375 kB / 327.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.002911, allocations: 384 / 327.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.003009, allocations: 78.77 kB / 327.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.003017, allocations: 192 / 327.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.003025, allocations: 8.375 kB / 327.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.003051, allocations: 8.375 kB / 327.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.003092, allocations: 27.91 kB / 327.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.844e-05/0.00319, allocations: 90.58 kB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.003327, allocations: 59.72 kB / 327.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.003359, allocations: 36.84 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.003391, allocations: 8 kB / 327.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.00341, allocations: 30.56 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.71e-07/0.00341, allocations: 0 / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.003001/0.006412, allocations: 2.172 MB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.006438, allocations: 51.64 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.006489, allocations: 98.72 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.006509, allocations: 29.7 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.00654, allocations: 84.77 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.006609, allocations: 107 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.006675, allocations: 61.66 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.00675, allocations: 322.8 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.006859, allocations: 150.8 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.006979, allocations: 152 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.007256, allocations: 346.8 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007259, allocations: 4 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003162/0.007576, allocations: 382 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00759, allocations: 4 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/0.007855, allocations: 320.4 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.00787, allocations: 8 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.008034, allocations: 67.88 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.008037, allocations: 0 / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.008074, allocations: 12 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.00811, allocations: 31.98 kB / 332.1 MB, free: 0.7383 MB / 298.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 8.21e-05/0.008192, allocations: 124.6 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.008218, allocations: 19.92 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.008709, allocations: 475.2 kB / 332.7 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.008716, allocations: 4 kB / 332.7 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.008719, allocations: 0 / 332.7 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.008726, allocations: 7.984 kB / 332.7 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.009347, allocations: 0.6731 MB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002261/0.009573, allocations: 302.4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.009686, allocations: 47.92 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.009691, allocations: 4 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.009711, allocations: 12 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.009716, allocations: 3.984 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.009717, allocations: 4 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.0102, allocations: 0.6413 MB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01021, allocations: 15.94 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.01024, allocations: 12 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.0103, allocations: 8 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.01035, allocations: 39.88 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.01039, allocations: 32 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.568e-06/0.01039, allocations: 8.844 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01039, allocations: 0 / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.01061, allocations: 79.88 kB / 334.6 MB, free: 14.14 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.0001798/0.01079, allocations: 136.4 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.01111, allocations: 364.6 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.01112, allocations: 4 kB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.01141, allocations: 0.5482 MB / 335.6 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.01158, allocations: 26.41 kB / 335.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.01335, allocations: 1.18 MB / 336.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.0134, allocations: 88.42 kB / 336.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.0135, allocations: 49.64 kB / 337 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.01373, allocations: 151.3 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01373, allocations: 0 / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Templates: time 0.00493/0.01866, allocations: 3.644 MB / 340.8 MB, free: 7.863 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.805006696842611]