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.001015/0.001015, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001141/0.001141, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9872/0.9872, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.272/0.272, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.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 1.533e-06/1.533e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.771e-05, allocations: 5.578 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001269/0.001296, allocations: 0.5166 MB / 323.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.001692, allocations: 219.2 kB / 323.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.001715, allocations: 0 / 323.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.001847, allocations: 4 kB / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.001869, allocations: 4 kB / 323.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.002138, allocations: 47.81 kB / 324 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.377e-05/0.002202, allocations: 19.97 kB / 324 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.002242, allocations: 4.625 kB / 324 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.002282, allocations: 15.92 kB / 324 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.002392, allocations: 19.97 kB / 324.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.002407, allocations: 0 / 324.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.002509, allocations: 63.86 kB / 324.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.002538, allocations: 15.94 kB / 324.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.00256, allocations: 11.98 kB / 324.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.002689, allocations: 83.75 kB / 324.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002692, allocations: 0 / 324.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.002694, allocations: 0 / 324.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.002698, allocations: 0 / 324.2 MB, free: 8.723 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.0003398/0.003038, allocations: 246 kB / 324.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.003072, allocations: 11.97 kB / 324.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.003101, allocations: 4.938 kB / 324.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.003178, allocations: 109.7 kB / 324.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.003191, allocations: 12.36 kB / 324.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.003214, allocations: 4.375 kB / 324.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.003335, allocations: 78.77 kB / 324.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.003344, allocations: 192 / 324.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003352, allocations: 384 / 324.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.003386, allocations: 24.3 kB / 324.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.003427, allocations: 30.59 kB / 324.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.003533, allocations: 82.59 kB / 324.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.003687, allocations: 65.36 kB / 324.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.00372, allocations: 24.86 kB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.003759, allocations: 15.98 kB / 324.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.003784, allocations: 34.56 kB / 325 MB, free: 7.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.003786, allocations: 0 / 325 MB, free: 7.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.002086/0.005871, allocations: 1.376 MB / 326.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.005909, allocations: 55.64 kB / 326.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.005968, allocations: 102.7 kB / 326.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.005991, allocations: 29.7 kB / 326.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.006015, allocations: 88.58 kB / 326.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.006086, allocations: 103 kB / 326.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.006157, allocations: 61.66 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.006246, allocations: 318.8 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.006373, allocations: 154.8 kB / 327.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.006487, allocations: 152 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.006764, allocations: 347.4 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006765, allocations: 0 / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003242/0.00709, allocations: 373.6 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.007106, allocations: 8.125 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002707/0.007377, allocations: 324.4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.007396, allocations: 4 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.00755, allocations: 59.89 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007555, allocations: 3.984 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.007592, allocations: 4 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.007627, allocations: 35.98 kB / 328.5 MB, free: 4.223 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 9.438e-05/0.007721, allocations: 128.6 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.007753, allocations: 19.92 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.008314, allocations: 471.2 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.008321, allocations: 4 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008324, allocations: 0 / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.008331, allocations: 3.984 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.009063, allocations: 0.6835 MB / 329.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002423/0.009305, allocations: 302.2 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.009428, allocations: 43.92 kB / 330.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.009433, allocations: 4 kB / 330.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.009454, allocations: 20 kB / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.009457, allocations: 0 / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.009462, allocations: 8.172 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.01006, allocations: 0.6401 MB / 330.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01008, allocations: 15.95 kB / 330.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.0101, allocations: 8 kB / 330.8 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.01018, allocations: 8 kB / 330.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01022, allocations: 39.81 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.01025, allocations: 36 kB / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.146e-05/0.01027, allocations: 8.844 kB / 330.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 330.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.01051, allocations: 83.94 kB / 331 MB, free: 1.609 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.0002202/0.01073, allocations: 141.1 kB / 331.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.01104, allocations: 362.8 kB / 331.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01104, allocations: 0 / 331.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.01132, allocations: 0.5482 MB / 332 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01148, allocations: 16 kB / 332.1 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.01346, allocations: 1.186 MB / 333.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.01351, allocations: 84.48 kB / 333.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.01362, allocations: 45.64 kB / 333.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.01385, allocations: 151.3 kB / 333.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.01385, allocations: 0 / 333.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Templates: time 0.005541/0.01939, allocations: 3.654 MB / 337.2 MB, free: 11.33 MB / 314.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 -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.1291485601104796]