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.001024/0.001024, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001271/0.001271, allocations: 169.2 kB / 25.61 MB, free: 8.91 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 0.9949/0.9949, allocations: 177 MB / 205.9 MB, free: 4.43 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.1419/0.1419, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.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 1.703e-06/1.703e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.807e-05, allocations: 5.797 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001087/0.001115, allocations: 0.4921 MB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.002829, allocations: 1.761 MB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.002852, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.002867, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.002874, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.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.0008922/0.003766, allocations: 266.9 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.003813, allocations: 0 / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.003849, allocations: 4 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.003875, allocations: 0 / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.695e-05/0.003892, allocations: 0 / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.003899, allocations: 4 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.004388, allocations: 451 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.004397, allocations: 4 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.004411, allocations: 0 / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.004744, allocations: 351 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004745, allocations: 0 / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004746, allocations: 0 / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.00475, allocations: 0 / 383.3 MB, free: 19.44 MB / 314.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.000233/0.004982, allocations: 413.5 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.005016, allocations: 11.97 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.005043, allocations: 8.938 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.932e-05/0.005082, allocations: 108.6 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.005092, allocations: 384 / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.005098, allocations: 384 / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.921e-05/0.005157, allocations: 59.91 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005163, allocations: 192 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.005169, allocations: 384 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005174, allocations: 3.938 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.345e-05/0.005188, allocations: 37.69 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.848e-05/0.005246, allocations: 89.27 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.005278, allocations: 52.8 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.00529, allocations: 37.39 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-06/0.005293, allocations: 0 / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.005316, allocations: 67.09 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.005316, allocations: 0 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.00544, allocations: 118.8 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.005463, allocations: 77.11 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.18e-05/0.005485, allocations: 146.2 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.005491, allocations: 25.7 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.131e-05/0.005502, allocations: 130.9 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.005515, allocations: 128 / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.005534, allocations: 23.36 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.005582, allocations: 0.4883 MB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.005592, allocations: 25.7 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.005599, allocations: 25.7 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.005633, allocations: 67.03 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005635, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.776e-05/0.005683, allocations: 93.09 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.005703, allocations: 29.7 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.005709, allocations: 4 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.005718, allocations: 4.094 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.005719, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.005722, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.005733, allocations: 3.938 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005738, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.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 4.105e-05/0.00578, allocations: 190.2 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.005784, allocations: 352 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-06/0.005793, allocations: 6.938 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.005795, allocations: 4 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.005797, allocations: 0 / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005799, allocations: 4 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.761e-05/0.005837, allocations: 93.2 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005838, allocations: 0 / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.005838, allocations: 0 / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.00584, allocations: 4 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.005845, allocations: 3.984 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-07/0.005846, allocations: 0 / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005847, allocations: 0 / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.758e-05/0.005904, allocations: 143.7 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.005908, allocations: 0 / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.005919, allocations: 7.984 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-06/0.005923, allocations: 4.031 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.005932, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.005933, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.406e-05/0.005947, allocations: 119.2 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005947, allocations: 7.938 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.006162, allocations: 67.8 kB / 386.1 MB, free: 16.3 MB / 314.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.0003067/0.006468, allocations: 190.6 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.006548, allocations: 122.5 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006549, allocations: 3.938 kB / 386.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.006566, allocations: 92.78 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.765e-05/0.006653, allocations: 5.812 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001184/0.006772, allocations: 103.6 kB / 386.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.751e-05/0.006789, allocations: 59.22 kB / 386.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.863e-06/0.006796, allocations: 8.125 kB / 386.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.006823, allocations: 74.19 kB / 386.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006824, allocations: 0 / 386.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003141/0.009965, allocations: 1.921 MB / 388.6 MB, free: 13.64 MB / 314.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","",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.143774373922497]