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.0007491/0.0007491, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001896, 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.000979/0.000979, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002494/0.003473, 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 0.9768/0.9768, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09593/1.073, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2852/0.2852, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03341/0.3186, allocations: 13.24 MB / 292.8 MB, free: 6.391 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.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.783e-06/1.783e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.244e-05, allocations: 4.266 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.001049/0.001072, allocations: 0.5813 MB / 294.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.0014, allocations: 212.7 kB / 294.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.001422, allocations: 7.938 kB / 294.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.001461, allocations: 0 / 294.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.001492, allocations: 7.984 kB / 294.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.001737, allocations: 39.83 kB / 294.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.001807, allocations: 11.98 kB / 294.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.00187, allocations: 7.938 kB / 294.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.001945, allocations: 23.97 kB / 295 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.002026, allocations: 7.984 kB / 295 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.002042, allocations: 4 kB / 295 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.002169, allocations: 59.94 kB / 295 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.002211, allocations: 15.94 kB / 295.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.00223, allocations: 4 kB / 295.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.002351, allocations: 63.8 kB / 295.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.002364, allocations: 0 / 295.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002364, allocations: 0 / 295.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.002374, allocations: 3.938 kB / 295.1 MB, free: 4.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003691/0.002743, allocations: 269.5 kB / 295.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.002777, allocations: 8.922 kB / 295.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.002807, allocations: 4.938 kB / 295.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.00291, allocations: 117.7 kB / 295.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.002921, allocations: 8.375 kB / 295.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.002942, allocations: 4.375 kB / 295.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.003034, allocations: 62.78 kB / 295.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.003043, allocations: 192 / 295.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.00305, allocations: 4.312 kB / 295.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.003057, allocations: 384 / 295.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.003081, allocations: 11.94 kB / 295.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.003208, allocations: 74.59 kB / 295.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.003285, allocations: 36.27 kB / 295.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.003304, allocations: 12.84 kB / 295.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.597e-05/0.00336, allocations: 12.08 kB / 295.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.003387, allocations: 34.56 kB / 295.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.003387, allocations: 0 / 295.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007664/0.004154, allocations: 429.9 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.004177, allocations: 59.41 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.004249, allocations: 126.7 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004258, allocations: 25.7 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.00428, allocations: 84.14 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.004305, allocations: 19.84 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.00433, allocations: 17.7 kB / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.004413, allocations: 322.8 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.004426, allocations: 10.81 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.004445, allocations: 13.72 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.004484, allocations: 39.34 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004485, allocations: 7.938 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.291e-05/0.004538, allocations: 47.34 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.004551, allocations: 8 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.004574, allocations: 15.92 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004586, allocations: 0 / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.004637, allocations: 11.98 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.00464, allocations: 0 / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.004656, allocations: 7.938 kB / 297 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.004661, allocations: 0 / 297 MB, free: 1.949 MB / 282.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.752e-05/0.004719, allocations: 124.6 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.004725, allocations: 128 / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.802e-05/0.004823, allocations: 69.73 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.004825, allocations: 0 / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.004827, allocations: 0 / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.004831, allocations: 3.984 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.005029, allocations: 258.7 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.005066, allocations: 45.62 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.005099, allocations: 8 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.005108, allocations: 7.953 kB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00511, allocations: 4 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.005117, allocations: 4 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.005119, allocations: 3.938 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00512, allocations: 0 / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.005243, allocations: 194.3 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.005255, allocations: 7.938 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/0.005294, allocations: 7.984 kB / 297.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.005309, allocations: 3.938 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.005313, allocations: 0 / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.005337, allocations: 25.95 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005337, allocations: 0 / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.005493, allocations: 51.91 kB / 297.8 MB, free: 1.078 MB / 282.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.0001498/0.005642, allocations: 126.1 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.005709, allocations: 29.08 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.005715, allocations: 4 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.005771, allocations: 75.08 kB / 298 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.005886, allocations: 14.67 kB / 298 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.006124, allocations: 174.8 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.006159, allocations: 59.34 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.24e-05/0.006181, allocations: 8.672 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.006233, allocations: 67.36 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.006234, allocations: 0 / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of Templates: time 0.00299/0.009224, allocations: 1.334 MB / 299.7 MB, free: 15.14 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8962951730936766]