Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.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.002012/0.002012, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002164/0.002164, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.663/1.663, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3504/0.3504, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.51e-05, allocations: 4.844 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002585/0.00262, allocations: 0.4932 MB / 377.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.007817, allocations: 1.763 MB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.007833, allocations: 0 / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.007852, allocations: 3.938 kB / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.007858, allocations: 0 / 379.4 MB, free: 0.6406 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:120:3-169:18:writable] Warning: Pure function 'ModelicaTest.Math.Polynomials' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.009754, allocations: 251.1 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.009812, allocations: 3.984 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.009857, allocations: 0 / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.009901, allocations: 4 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.009923, allocations: 0 / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.009931, allocations: 0 / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.01155, allocations: 458.8 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.01156, allocations: 0 / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.01159, allocations: 4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.01259, allocations: 339.1 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.0126, allocations: 0 / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0126, allocations: 4 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.0126, allocations: 0 / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007406/0.01334, allocations: 421.5 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.01339, allocations: 8.031 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.01347, allocations: 4.938 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.01362, allocations: 108.6 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.01364, allocations: 384 / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.01365, allocations: 384 / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.0138, allocations: 59.95 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01382, allocations: 192 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.01383, allocations: 4.375 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01384, allocations: 3.938 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.0139, allocations: 29.7 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.0141, allocations: 108.6 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.01424, allocations: 56.73 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.01432, allocations: 37.38 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01433, allocations: 8 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/0.01442, allocations: 59.09 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.01443, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003575/0.01478, allocations: 122.7 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.01489, allocations: 89.17 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01503, allocations: 142.2 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.01507, allocations: 25.7 kB / 381.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01518, allocations: 126.9 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.01521, allocations: 0 / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.01527, allocations: 23.38 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004205/0.01569, allocations: 492.1 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.01574, allocations: 25.7 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.01579, allocations: 29.7 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.01591, allocations: 67.08 kB / 382.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01591, allocations: 4.062 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001916/0.01611, allocations: 93.05 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.01617, allocations: 33.69 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01618, allocations: 0 / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01619, allocations: 0 / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.01619, allocations: 0 / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.01621, allocations: 7.938 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.01623, allocations: 0 / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.01624, allocations: 0 / 382.6 MB, free: 13.15 MB / 362.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 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002126/0.01645, allocations: 182.3 kB / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.01647, allocations: 7.953 kB / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.01648, allocations: 3 kB / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.01649, allocations: 0 / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01649, allocations: 0 / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.0165, allocations: 3.938 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01668, allocations: 116.6 kB / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01668, allocations: 0 / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-06/0.01669, allocations: 4 kB / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01669, allocations: 0 / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.0167, allocations: 0 / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0167, allocations: 4 kB / 382.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0167, allocations: 4 kB / 382.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01698, allocations: 139.7 kB / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.01699, allocations: 0 / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01702, allocations: 4 kB / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.01703, allocations: 0 / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.01705, allocations: 0 / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01706, allocations: 0 / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.01717, allocations: 123.1 kB / 383.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01717, allocations: 0 / 383.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.0178, allocations: 67.8 kB / 383.3 MB, free: 12.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009241/0.01872, allocations: 204.5 kB / 383.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.01898, allocations: 126.5 kB / 383.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01899, allocations: 0 / 383.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.01912, allocations: 92.8 kB / 383.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01936, allocations: 8.062 kB / 383.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.01973, allocations: 117.6 kB / 383.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.55e-05/0.01981, allocations: 51.36 kB / 383.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.01982, allocations: 0 / 383.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.01984, allocations: 12.5 kB / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01984, allocations: 0 / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Templates: time 0.008237/0.02808, allocations: 1.682 MB / 385.6 MB, free: 10.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.079937495989725]