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.001433/0.001433, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.92 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 62.44 MB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001632/0.1122, allocations: 489.7 kB / 481.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1143, allocations: 1.793 MB / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1143, allocations: 0 / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.1143, allocations: 0 / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-06/0.1143, allocations: 0 / 483.7 MB, free: 2.227 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.0008013/0.1151, allocations: 231.2 kB / 483.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.1152, allocations: 8 kB / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1152, allocations: 0 / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.1152, allocations: 0 / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.1153, allocations: 3.984 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.1153, allocations: 7.938 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.1158, allocations: 403.2 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.1159, allocations: 3.984 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.1159, allocations: 0 / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1163, allocations: 299.5 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1163, allocations: 4 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1163, allocations: 0 / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1163, allocations: 0 / 484.7 MB, free: 1.285 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.0003432/0.1167, allocations: 389.2 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1167, allocations: 8.031 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1168, allocations: 4.938 kB / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.1168, allocations: 164.3 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1169, allocations: 384 / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.1169, allocations: 4.312 kB / 485.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.117, allocations: 49.97 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.117, allocations: 0 / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.117, allocations: 4 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.117, allocations: 0 / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.509e-05/0.117, allocations: 0 / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.1171, allocations: 145.7 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.1172, allocations: 18.52 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.1172, allocations: 4.859 kB / 485.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1172, allocations: 12.08 kB / 485.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1173, allocations: 64.2 kB / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1173, allocations: 0 / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1174, allocations: 59.41 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1175, allocations: 77.11 kB / 485.6 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.507e-05/0.1175, allocations: 89.86 kB / 485.7 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1175, allocations: 29.75 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.1176, allocations: 88.2 kB / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1176, allocations: 0 / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.1176, allocations: 17.66 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.1177, allocations: 310.8 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.1177, allocations: 0 / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.1178, allocations: 11.94 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.1178, allocations: 60.27 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1178, allocations: 0 / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.06e-05/0.1179, allocations: 67.45 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1179, allocations: 40.14 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1179, allocations: 0 / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.118, allocations: 0 / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.118, allocations: 0 / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.118, allocations: 3.938 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.118, allocations: 0 / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.118, allocations: 4 kB / 486.3 MB, free: 15.32 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 7.596e-05/0.1181, allocations: 139.5 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.1181, allocations: 7.969 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-06/0.1181, allocations: 3.125 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1181, allocations: 4 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1181, allocations: 0 / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1181, allocations: 0 / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.1182, allocations: 141.7 kB / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1182, allocations: 0 / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.1182, allocations: 3.984 kB / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1182, allocations: 7.938 kB / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1182, allocations: 3.938 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1182, allocations: 4 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1183, allocations: 0 / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.73e-05/0.1184, allocations: 94.83 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.1184, allocations: 81.02 kB / 486.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1184, allocations: 3.938 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.1184, allocations: 3.938 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-06/0.1184, allocations: 0 / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1184, allocations: 4.031 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.1185, allocations: 79.28 kB / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1185, allocations: 0 / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1188, allocations: 63.98 kB / 487 MB, free: 14.59 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.0003677/0.1191, allocations: 201.7 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.1192, allocations: 55.41 kB / 487.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1192, allocations: 0 / 487.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.1193, allocations: 55.41 kB / 487.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1194, allocations: 7.938 kB / 487.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.1196, allocations: 76.92 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1198, allocations: 0.6767 MB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.62e-06/0.1198, allocations: 0 / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-06/0.1198, allocations: 7.562 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1198, allocations: 4 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004055/0.1239, allocations: 1.616 MB / 489.7 MB, free: 11.81 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches