Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.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.0009598/0.0009598, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001162/0.001162, allocations: 160.6 kB / 24.91 MB, free: 8.727 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 1.015/1.015, allocations: 177 MB / 205.2 MB, free: 5.477 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.2989/0.2989, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 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.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.234e-05, allocations: 2.312 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.00137/0.001392, allocations: 0.5823 MB / 326.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000363/0.001755, allocations: 212.3 kB / 326.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.001774, allocations: 0 / 326.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.001836, allocations: 3.938 kB / 326.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.001869, allocations: 0 / 326.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.00212, allocations: 43.81 kB / 326.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.002174, allocations: 20.55 kB / 326.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.002206, allocations: 0 / 326.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.002243, allocations: 15.98 kB / 326.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.002306, allocations: 11.98 kB / 326.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002319, allocations: 4 kB / 326.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.002432, allocations: 63.86 kB / 326.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.002462, allocations: 15.94 kB / 326.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.002478, allocations: 7.984 kB / 326.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.002579, allocations: 67.78 kB / 327 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002581, allocations: 0 / 327 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002582, allocations: 0 / 327 MB, free: 6.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.002585, allocations: 0 / 327 MB, free: 6.129 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002683/0.002853, allocations: 270 kB / 327.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.00288, allocations: 8.031 kB / 327.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.002905, allocations: 4.938 kB / 327.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.002979, allocations: 115.1 kB / 327.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.002987, allocations: 4.375 kB / 327.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.003004, allocations: 8.328 kB / 327.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.003076, allocations: 66.72 kB / 327.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.003085, allocations: 192 / 327.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.00309, allocations: 384 / 327.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.003096, allocations: 4.375 kB / 327.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.003112, allocations: 3.938 kB / 327.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.359e-05/0.003205, allocations: 78.69 kB / 327.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.112e-05/0.003256, allocations: 32.27 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.003271, allocations: 8.859 kB / 327.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.003311, allocations: 16.06 kB / 327.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.003333, allocations: 34.5 kB / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003333, allocations: 0 / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007003/0.004034, allocations: 363.4 kB / 328 MB, free: 4.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.004063, allocations: 55.41 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.004131, allocations: 124.4 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.004145, allocations: 29.7 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.004171, allocations: 84.12 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.004202, allocations: 23.78 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.00423, allocations: 25.64 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.004309, allocations: 322.8 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.00432, allocations: 6.828 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.004339, allocations: 21.7 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.004376, allocations: 31.3 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004377, allocations: 4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.914e-05/0.004436, allocations: 59.27 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004447, allocations: 8 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.004468, allocations: 11.98 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.004477, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.00452, allocations: 8 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004523, allocations: 8.031 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.004538, allocations: 4.062 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.00455, allocations: 8 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 5.567e-05/0.004605, allocations: 120.6 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.004615, allocations: 4 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.004712, allocations: 65.8 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004714, allocations: 0 / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004715, allocations: 0 / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.00472, allocations: 4.469 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.004903, allocations: 262.6 kB / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.004938, allocations: 45.67 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.004968, allocations: 8 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004969, allocations: 0 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.004973, allocations: 0 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004974, allocations: 0 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004975, allocations: 0 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.005087, allocations: 218.1 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.005097, allocations: 7.953 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.005107, allocations: 4 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.005141, allocations: 3.984 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.005154, allocations: 7.938 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.005162, allocations: 4 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.674e-05/0.005179, allocations: 18.84 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005179, allocations: 0 / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00016/0.005339, allocations: 51.86 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse2,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001315/0.00547, allocations: 132.3 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.82e-05/0.005528, allocations: 28.8 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.005535, allocations: 0 / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.005578, allocations: 72.23 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.005686, allocations: 11.98 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.005894, allocations: 174.7 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.005926, allocations: 63.34 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.005948, allocations: 8.438 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.006001, allocations: 63.36 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006002, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of Templates: time 0.002724/0.008726, allocations: 1.344 MB / 331.5 MB, free: 1.266 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestInterpolateParametric/TestInterpolateParametric.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.8368240566924214]