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.001223/0.001223, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.003082, allocations: 457.8 kB / 10.45 MB, free: 244 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.001278/0.001278, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002607, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.043/1.043, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1094/1.152, allocations: 53.86 MB / 243.9 MB, free: 14.82 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.3028/0.3028, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0493/0.3521, allocations: 13.24 MB / 292.8 MB, free: 6.348 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.032e-06/1.032e-06, allocations: 0 / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.283e-05, allocations: 12.59 kB / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001236/0.001258, allocations: 0.5619 MB / 294.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.001536, allocations: 224.7 kB / 294.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.001553, allocations: 7.938 kB / 294.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.203e-05/0.001615, allocations: 7.922 kB / 294.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.868e-06/0.001625, allocations: 0 / 294.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.001788, allocations: 39.83 kB / 294.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.001843, allocations: 23.98 kB / 295 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.001877, allocations: 7.922 kB / 295 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.001915, allocations: 11.98 kB / 295 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.002004, allocations: 19.97 kB / 295 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.002019, allocations: 4 kB / 295 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.002138, allocations: 63.88 kB / 295.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.002166, allocations: 15.94 kB / 295.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002184, allocations: 4 kB / 295.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.002294, allocations: 63.8 kB / 295.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.002305, allocations: 0 / 295.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002306, allocations: 4 kB / 295.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.002315, allocations: 0 / 295.1 MB, free: 4.008 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.0003436/0.002659, allocations: 265.6 kB / 295.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.002688, allocations: 11.44 kB / 295.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.002718, allocations: 4.938 kB / 295.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.143e-05/0.002789, allocations: 113.7 kB / 295.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.002797, allocations: 384 / 295.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.002818, allocations: 4.375 kB / 295.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.002913, allocations: 85.58 kB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.002922, allocations: 192 / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.002929, allocations: 8.375 kB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.002957, allocations: 12.36 kB / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.002994, allocations: 27.92 kB / 295.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.937e-05/0.003093, allocations: 86.58 kB / 295.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.003226, allocations: 69.25 kB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.003251, allocations: 24.86 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.003285, allocations: 8 kB / 295.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.003305, allocations: 38.55 kB / 295.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.003306, allocations: 0 / 295.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002152/0.005458, allocations: 1.696 MB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.005482, allocations: 55.64 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.005528, allocations: 94.72 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.005547, allocations: 29.7 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.00557, allocations: 84.64 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.005635, allocations: 99.09 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.005699, allocations: 61.66 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.005778, allocations: 326.8 kB / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.005884, allocations: 154.9 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.005986, allocations: 152 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.006253, allocations: 346.8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.006254, allocations: 3.938 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002702/0.006524, allocations: 374.1 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006538, allocations: 8 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/0.006758, allocations: 320.4 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.00677, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.006934, allocations: 79.86 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006937, allocations: 0 / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.006971, allocations: 8 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.007033, allocations: 35.98 kB / 299.8 MB, free: 15.15 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.51e-05/0.007118, allocations: 124.6 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.007149, allocations: 19.92 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.007652, allocations: 467.3 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.007658, allocations: 8 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.00766, allocations: 3.938 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.007666, allocations: 3.984 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.008272, allocations: 0.6763 MB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002198/0.008492, allocations: 302.6 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.008607, allocations: 51.98 kB / 301.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.008623, allocations: 23.83 kB / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.008629, allocations: 4 kB / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.00865, allocations: 15.98 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.008653, allocations: 4 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.008656, allocations: 4 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.00912, allocations: 0.6323 MB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.009143, allocations: 8 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.009214, allocations: 12 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.009255, allocations: 35.91 kB / 302.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.009287, allocations: 36 kB / 302.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.668e-06/0.009297, allocations: 8.844 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009297, allocations: 0 / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000215/0.009512, allocations: 87.86 kB / 302.3 MB, free: 12.54 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.0001646/0.009676, allocations: 136.2 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.009982, allocations: 365.2 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.009992, allocations: 4 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.01029, allocations: 0.5863 MB / 303.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.01044, allocations: 43.97 kB / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.01213, allocations: 1.206 MB / 304.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.01218, allocations: 84.48 kB / 304.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.886e-05/0.01227, allocations: 50.2 kB / 304.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.01249, allocations: 151.3 kB / 304.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01249, allocations: 0 / 304.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of Templates: time 0.005037/0.01753, allocations: 3.745 MB / 308.6 MB, free: 6.082 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0333684887737036]