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.001001/0.001001, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001079/0.001079, allocations: 156.5 kB / 24.55 MB, free: 20 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.625 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.2473/0.2473, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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 1.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.854e-05, allocations: 2.312 kB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0009239/0.0009424, allocations: 0.4945 MB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.002703, allocations: 1.783 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.00272, allocations: 0 / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.002737, allocations: 0 / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.002743, allocations: 4 kB / 381 MB, free: 15.83 MB / 362.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.0007692/0.003512, allocations: 255 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.669e-05/0.003559, allocations: 4 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.003591, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.003614, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.003632, allocations: 3.938 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.00364, allocations: 4 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.004125, allocations: 450.9 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.004135, allocations: 4 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.004154, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.00452, allocations: 347 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004523, allocations: 8 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004523, allocations: 0 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.004528, allocations: 0 / 382.1 MB, free: 14.77 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.0003151/0.004843, allocations: 413.6 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.00488, allocations: 8.031 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.004911, allocations: 4.938 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.831e-05/0.004969, allocations: 108.6 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.00498, allocations: 384 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.00499, allocations: 384 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.005076, allocations: 59.91 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.005084, allocations: 4.188 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005092, allocations: 384 / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005098, allocations: 7.875 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.005118, allocations: 33.69 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.558e-05/0.005204, allocations: 108.6 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.005248, allocations: 56.8 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.005275, allocations: 33.39 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-06/0.00528, allocations: 3.938 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.005313, allocations: 63.16 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.005313, allocations: 0 / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000154/0.005467, allocations: 118.8 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.005504, allocations: 85.05 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.005812, allocations: 142.2 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.00582, allocations: 25.7 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.005845, allocations: 130.9 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.005861, allocations: 352 / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.005884, allocations: 19.36 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005985, allocations: 496.1 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.006002, allocations: 25.7 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.006017, allocations: 29.64 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.006062, allocations: 71.28 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006064, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.4e-05/0.006118, allocations: 93.05 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.006142, allocations: 33.7 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006147, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.006157, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.00616, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.006166, allocations: 3.938 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.006175, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.00618, allocations: 0 / 384.2 MB, free: 12.34 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 6.959e-05/0.00625, allocations: 198.2 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.006254, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.006267, allocations: 7 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006268, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006272, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.006275, allocations: 3.938 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.089e-05/0.006326, allocations: 104.6 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.006326, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.006327, allocations: 7.938 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.006329, allocations: 3.984 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.006334, allocations: 4 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.006334, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006335, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/0.00641, allocations: 131.8 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.006414, allocations: 4 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006425, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-06/0.006429, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.006439, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006442, allocations: 7.938 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.006469, allocations: 123.1 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006469, allocations: 0 / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.006654, allocations: 71.83 kB / 384.9 MB, free: 11.6 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.0003133/0.006967, allocations: 203.2 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.007059, allocations: 118.5 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.00706, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.007089, allocations: 96.84 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.246e-05/0.007181, allocations: 7.984 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.00734, allocations: 113.7 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.007367, allocations: 55.34 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.83e-06/0.007373, allocations: 0 / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.007384, allocations: 8.5 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007384, allocations: 0 / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Templates: time 0.002995/0.01038, allocations: 1.687 MB / 387.1 MB, free: 9.215 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","",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.2234541629441082]