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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007733, allocations: 95.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008711/0.0008711, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002947, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000648/0.1245, allocations: 213.2 kB / 483.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1274, allocations: 1.791 MB / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.003e-05/0.1274, allocations: 0 / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1275, allocations: 0 / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.1275, allocations: 3.938 kB / 485.1 MB, free: 2.109 MB / 350.1 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.000833/0.1283, allocations: 183.6 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.069e-05/0.1284, allocations: 8 kB / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.1284, allocations: 0 / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.1284, allocations: 3.984 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.492e-05/0.1285, allocations: 0 / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-06/0.1285, allocations: 0 / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.1291, allocations: 403.2 kB / 485.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.1291, allocations: 0 / 485.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.1292, allocations: 25.7 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.1297, allocations: 287.4 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1297, allocations: 4 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1297, allocations: 8 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1297, allocations: 0 / 486 MB, free: 1.199 MB / 350.1 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.0004288/0.1301, allocations: 385.2 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1302, allocations: 8.875 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1302, allocations: 4.938 kB / 486.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.1303, allocations: 160.4 kB / 486.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1304, allocations: 384 / 486.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.1304, allocations: 384 / 486.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1305, allocations: 49.92 kB / 486.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1305, allocations: 4 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1305, allocations: 0 / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1305, allocations: 3.938 kB / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.1305, allocations: 0 / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1307, allocations: 145.7 kB / 486.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.1308, allocations: 14.58 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.1308, allocations: 4.859 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1308, allocations: 12.08 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.1308, allocations: 72.12 kB / 486.8 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1309, allocations: 0 / 486.8 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001757/0.131, allocations: 59.41 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1311, allocations: 77.11 kB / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.1312, allocations: 89.86 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1312, allocations: 25.7 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1312, allocations: 80.14 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1313, allocations: 8.125 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1313, allocations: 17.7 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1314, allocations: 310.8 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.1314, allocations: 0 / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-06/0.1314, allocations: 0 / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/0.1315, allocations: 68.14 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1315, allocations: 0 / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.541e-05/0.1316, allocations: 67.39 kB / 487.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.1317, allocations: 37.73 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1317, allocations: 0 / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1317, allocations: 4 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1317, allocations: 0 / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1317, allocations: 0 / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1317, allocations: 4 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1317, allocations: 0 / 487.7 MB, free: 15.25 MB / 366.1 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 8.832e-05/0.1318, allocations: 135.5 kB / 487.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.1318, allocations: 3.938 kB / 487.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.1318, allocations: 11.11 kB / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1319, allocations: 0 / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1319, allocations: 0 / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1319, allocations: 0 / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.132, allocations: 145.7 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.132, allocations: 3.938 kB / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.132, allocations: 0 / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.132, allocations: 3.938 kB / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.132, allocations: 0 / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.132, allocations: 3.984 kB / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.132, allocations: 4 kB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191e-05/0.1321, allocations: 86.84 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.1322, allocations: 88.95 kB / 488.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1322, allocations: 11.92 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.1322, allocations: 0 / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.1322, allocations: 0 / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1322, allocations: 0 / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.1323, allocations: 75.28 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 4.031 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1326, allocations: 63.98 kB / 488.3 MB, free: 14.52 MB / 366.1 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.0004464/0.1331, allocations: 189.2 kB / 488.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.1331, allocations: 67.34 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1332, allocations: 0 / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.1332, allocations: 55.41 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.1333, allocations: 288 / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.1335, allocations: 82.75 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1338, allocations: 0.6692 MB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.1338, allocations: 0 / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-06/0.1338, allocations: 7.438 kB / 489.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1338, allocations: 0 / 489.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.004523/0.1383, allocations: 1.626 MB / 491 MB, free: 11.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches