Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001078/0.001078, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.002192, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007047/0.0007047, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009161/0.001621, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1247/1.158, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3102/0.3102, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05964/0.3698, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.671e-05, allocations: 3.438 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001056/0.001073, allocations: 0.5689 MB / 291.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003772/0.00145, allocations: 227 kB / 291.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.001487, allocations: 1.281 kB / 291.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.984e-05/0.001567, allocations: 5.531 kB / 291.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.4e-05/0.001581, allocations: 8.906 kB / 291.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.001803, allocations: 36.41 kB / 291.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.001877, allocations: 24.78 kB / 291.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.001919, allocations: 2.375 kB / 291.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.001978, allocations: 10.7 kB / 291.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.002118, allocations: 30.62 kB / 291.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.002142, allocations: 1.312 kB / 291.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.00229, allocations: 67.52 kB / 291.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.00232, allocations: 7.375 kB / 291.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.002343, allocations: 9.312 kB / 291.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.002503, allocations: 61.19 kB / 291.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.002519, allocations: 0 / 291.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002519, allocations: 1.5 kB / 291.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.002533, allocations: 0 / 291.6 MB, free: 6.902 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.0004322/0.002965, allocations: 262.1 kB / 291.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.003008, allocations: 13.53 kB / 291.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.003044, allocations: 4.219 kB / 291.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.003143, allocations: 111.4 kB / 292 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.003155, allocations: 5.984 kB / 292 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.003179, allocations: 2.875 kB / 292 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.003317, allocations: 83.42 kB / 292.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.003326, allocations: 192 / 292.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003334, allocations: 2.031 kB / 292.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.003369, allocations: 8.969 kB / 292.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.003433, allocations: 29.78 kB / 292.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.003558, allocations: 85.06 kB / 292.2 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.003773, allocations: 70.8 kB / 292.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.003814, allocations: 29.88 kB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.003864, allocations: 8.031 kB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.003895, allocations: 37.31 kB / 292.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.133e-06/0.003897, allocations: 0 / 292.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002368/0.006265, allocations: 1.69 MB / 294.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.006299, allocations: 55.64 kB / 294.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006407, allocations: 110.7 kB / 294.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.006426, allocations: 25.7 kB / 294.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.00645, allocations: 84.64 kB / 294.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.006519, allocations: 99.11 kB / 294.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.006588, allocations: 57.66 kB / 294.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.006684, allocations: 322.8 kB / 294.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.006794, allocations: 154.8 kB / 295 MB, free: 3.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.006899, allocations: 148 kB / 295.1 MB, free: 3.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.0074, allocations: 351.3 kB / 295.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007403, allocations: 4.125 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002714/0.007674, allocations: 381.5 kB / 295.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.007686, allocations: 4 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/0.00792, allocations: 316.4 kB / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.00793, allocations: 4 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.008094, allocations: 83.86 kB / 296.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008099, allocations: 0 / 296.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.008131, allocations: 4 kB / 296.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.008161, allocations: 31.98 kB / 296.3 MB, free: 2.422 MB / 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 7.549e-05/0.008237, allocations: 124.6 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.008264, allocations: 23.92 kB / 296.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.008769, allocations: 459.3 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.008774, allocations: 7.984 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008776, allocations: 4 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.00878, allocations: 0 / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.009566, allocations: 0.6763 MB / 297.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002305/0.009797, allocations: 305.5 kB / 297.8 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.009908, allocations: 51.98 kB / 297.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.009921, allocations: 19.84 kB / 297.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.009926, allocations: 3.984 kB / 297.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.009947, allocations: 20.12 kB / 297.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.00995, allocations: 4 kB / 297.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.009952, allocations: 0 / 297.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.01042, allocations: 0.6401 MB / 298.6 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.01046, allocations: 8.078 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.01052, allocations: 12 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.01056, allocations: 35.88 kB / 298.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.01059, allocations: 31.98 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.705e-06/0.0106, allocations: 8.859 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0106, allocations: 4.125 kB / 298.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.0108, allocations: 83.88 kB / 298.8 MB, free: 15.81 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.01096, allocations: 140.1 kB / 298.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.01127, allocations: 370 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.01128, allocations: 0 / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.01153, allocations: 0.5479 MB / 299.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.01169, allocations: 42.08 kB / 299.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.01375, allocations: 1.207 MB / 301 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.0138, allocations: 84.48 kB / 301.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.0139, allocations: 53.62 kB / 301.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.01412, allocations: 147.3 kB / 301.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01412, allocations: 3.938 kB / 301.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004789/0.01891, allocations: 3.72 MB / 305.1 MB, free: 9.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0452129915356636]