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.0007938/0.0007938, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001799, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006784/0.0006784, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008858/0.001564, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.106/1.115, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.3145/0.3145, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02523/0.3398, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.483e-06/1.483e-06, allocations: 0 / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.832e-05, allocations: 5.094 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00132/0.001348, allocations: 0.5678 MB / 294.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.001653, allocations: 224.7 kB / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.001674, allocations: 0 / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.906e-05/0.001743, allocations: 4 kB / 294.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.115e-05/0.001754, allocations: 0 / 294.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.001953, allocations: 51.69 kB / 294.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.002017, allocations: 16.73 kB / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.002055, allocations: 4 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.002106, allocations: 23.97 kB / 294.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.002215, allocations: 23.91 kB / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.002235, allocations: 4 kB / 294.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.00237, allocations: 51.94 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.002407, allocations: 15.94 kB / 294.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.002429, allocations: 8 kB / 294.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.00256, allocations: 59.8 kB / 294.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.705e-05/0.002577, allocations: 4 kB / 294.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002578, allocations: 0 / 294.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.002592, allocations: 0 / 294.9 MB, free: 4.152 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.0003789/0.002971, allocations: 265.6 kB / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.003003, allocations: 8.922 kB / 295.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.003031, allocations: 8.875 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.003115, allocations: 101.8 kB / 295.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.003127, allocations: 8.375 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.003145, allocations: 384 / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003262, allocations: 85 kB / 295.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003269, allocations: 4.188 kB / 295.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003276, allocations: 384 / 295.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.003311, allocations: 16.36 kB / 295.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.003353, allocations: 31.86 kB / 295.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.522e-05/0.003448, allocations: 86.59 kB / 295.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.003599, allocations: 65.36 kB / 295.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.003626, allocations: 24.86 kB / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.003665, allocations: 11.98 kB / 295.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.003684, allocations: 30.56 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.003685, allocations: 0 / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002136/0.005821, allocations: 1.701 MB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.00585, allocations: 55.64 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.005901, allocations: 94.72 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.00592, allocations: 33.7 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.005942, allocations: 84.62 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.006006, allocations: 103 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.006072, allocations: 61.64 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.006159, allocations: 322.8 kB / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.006268, allocations: 146.8 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.006373, allocations: 156 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.006604, allocations: 339 kB / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006605, allocations: 4 kB / 298.7 MB, free: 120 kB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003038/0.006909, allocations: 378.1 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006923, allocations: 8 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/0.00715, allocations: 324.4 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.007158, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.007321, allocations: 79.86 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007325, allocations: 4 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.007358, allocations: 4 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.007388, allocations: 31.98 kB / 299.5 MB, free: 15.3 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 7.521e-05/0.007463, allocations: 124.7 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.007491, allocations: 23.92 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.007978, allocations: 465.7 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.007984, allocations: 15.94 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007987, allocations: 4 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.007992, allocations: 3.984 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.00861, allocations: 0.6802 MB / 300.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002166/0.008827, allocations: 301.9 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.008943, allocations: 47.92 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.008959, allocations: 16.09 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.008963, allocations: 8 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.008981, allocations: 15.98 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.008984, allocations: 4 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.008987, allocations: 0 / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.009442, allocations: 0.6362 MB / 301.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.009465, allocations: 8 kB / 301.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.009531, allocations: 8 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.00957, allocations: 43.81 kB / 301.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.009601, allocations: 35.98 kB / 301.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.947e-06/0.00961, allocations: 8.891 kB / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.009611, allocations: 0 / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.009822, allocations: 79.88 kB / 302 MB, free: 12.69 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.0001676/0.009989, allocations: 144.2 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.01027, allocations: 357.3 kB / 302.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.01028, allocations: 7.984 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.01053, allocations: 0.5475 MB / 303.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.0107, allocations: 47.55 kB / 303.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.01239, allocations: 1.206 MB / 304.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01244, allocations: 84.48 kB / 304.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.01254, allocations: 45.64 kB / 304.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.01278, allocations: 147.3 kB / 304.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01278, allocations: 4 kB / 304.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of Templates: time 0.005042/0.01782, allocations: 3.714 MB / 308.3 MB, free: 6.297 MB / 298.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 -emit_protected -ignoreHideResult -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.9809990767389536]