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.0009068/0.0009066, allocations: 96.95 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009165/0.0009166, allocations: 204.1 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 247.5 MB, free: 9.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.18 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 63.56 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000683/0.117, allocations: 217.3 kB / 483.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1196, allocations: 1.803 MB / 485.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.1197, allocations: 0 / 485.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.1197, allocations: 0 / 485.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.1197, allocations: 0 / 485.7 MB, free: 2.098 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.0008872/0.1206, allocations: 179.6 kB / 485.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.032e-05/0.1206, allocations: 8 kB / 485.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.1207, allocations: 3.938 kB / 485.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1207, allocations: 0 / 485.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.1207, allocations: 3.938 kB / 485.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1208, allocations: 0 / 485.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.1214, allocations: 403.2 kB / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.1214, allocations: 0 / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.1215, allocations: 25.7 kB / 486.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.1219, allocations: 203.7 kB / 486.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1219, allocations: 0 / 486.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1219, allocations: 4 kB / 486.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1219, allocations: 4 kB / 486.6 MB, free: 1.273 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.0004041/0.1223, allocations: 379.5 kB / 486.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1223, allocations: 8.875 kB / 486.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1224, allocations: 4.938 kB / 486.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.1225, allocations: 160.4 kB / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1225, allocations: 384 / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1225, allocations: 384 / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.1226, allocations: 45.98 kB / 487.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1226, allocations: 7.938 kB / 487.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1226, allocations: 0 / 487.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1226, allocations: 0 / 487.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.1227, allocations: 0 / 487.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.1228, allocations: 145.7 kB / 487.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.1228, allocations: 14.58 kB / 487.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.1229, allocations: 8.844 kB / 487.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1229, allocations: 8.078 kB / 487.3 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.1229, allocations: 68.2 kB / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1229, allocations: 0 / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.1231, allocations: 63.34 kB / 487.4 MB, free: 200 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1232, allocations: 81.09 kB / 487.5 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/0.1232, allocations: 89.86 kB / 487.6 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1233, allocations: 25.7 kB / 487.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.1233, allocations: 80.14 kB / 487.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.1233, allocations: 4.125 kB / 487.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1234, allocations: 17.72 kB / 487.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1235, allocations: 310.8 kB / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.1235, allocations: 0 / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1235, allocations: 0 / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.1236, allocations: 64.2 kB / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1236, allocations: 0 / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.223e-05/0.1237, allocations: 67.39 kB / 488.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1237, allocations: 41.67 kB / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1237, allocations: 3.938 kB / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1237, allocations: 4 kB / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1237, allocations: 0 / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1237, allocations: 0 / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.1238, allocations: 0 / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1238, allocations: 0 / 488.2 MB, free: 15.34 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.966e-05/0.1239, allocations: 139.5 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1239, allocations: 3.938 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-06/0.1239, allocations: 7.125 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1239, allocations: 0 / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1239, allocations: 0 / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1239, allocations: 0 / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.124, allocations: 145.7 kB / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.124, allocations: 3.984 kB / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.124, allocations: 0 / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1241, allocations: 3.938 kB / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1241, allocations: 0 / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1241, allocations: 3.938 kB / 488.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1241, allocations: 0 / 488.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.1242, allocations: 98.83 kB / 488.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.1242, allocations: 85.02 kB / 488.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1242, allocations: 7.938 kB / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1243, allocations: 0 / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1243, allocations: 0 / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1243, allocations: 0 / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.1243, allocations: 75.28 kB / 488.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1243, allocations: 4.031 kB / 488.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1247, allocations: 67.98 kB / 488.9 MB, free: 14.6 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.0004664/0.1252, allocations: 189.3 kB / 489 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.1253, allocations: 67.34 kB / 489.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1253, allocations: 0 / 489.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.1253, allocations: 51.41 kB / 489.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1254, allocations: 4.281 kB / 489.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.1257, allocations: 108.5 kB / 489.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1259, allocations: 0.6692 MB / 489.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.1259, allocations: 7.438 kB / 489.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1259, allocations: 0 / 489.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.003568/0.1295, allocations: 1.505 MB / 491.4 MB, free: 11.92 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/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