Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001259, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.3 MB, free: 9.117 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2354/0.2354, allocations: 46.12 MB / 343.7 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 80.44 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1192, allocations: 62.45 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001754/0.121, allocations: 0.5488 MB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1238, allocations: 1.821 MB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.073e-05/0.1238, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1238, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.1239, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008613/0.1247, allocations: 187.6 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.112e-05/0.1248, allocations: 0 / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1248, allocations: 0 / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1248, allocations: 0 / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.079e-05/0.1249, allocations: 7.938 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.1249, allocations: 0 / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.1255, allocations: 395.2 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-06/0.1255, allocations: 7.938 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1255, allocations: 0 / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.126, allocations: 307.4 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.126, allocations: 0 / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.126, allocations: 0 / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.126, allocations: 0 / 482.6 MB, free: 2.387 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.0004194/0.1265, allocations: 381.2 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1265, allocations: 8.875 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1265, allocations: 4.922 kB / 483 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1267, allocations: 168.4 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1267, allocations: 4.375 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1267, allocations: 384 / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.1268, allocations: 33.95 kB / 483.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1268, allocations: 4 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1268, allocations: 0 / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1268, allocations: 0 / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.1268, allocations: 0 / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.127, allocations: 145.7 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.127, allocations: 22.61 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.1271, allocations: 8.859 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-06/0.1271, allocations: 3.938 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.1271, allocations: 64.27 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1271, allocations: 0 / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.1273, allocations: 63.39 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1274, allocations: 77.23 kB / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.1274, allocations: 93.86 kB / 483.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1275, allocations: 29.7 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1275, allocations: 80.14 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1275, allocations: 0 / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1276, allocations: 13.72 kB / 483.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1277, allocations: 310.8 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.1277, allocations: 3.938 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.1277, allocations: 7.922 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.1278, allocations: 64.33 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1278, allocations: 0 / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.856e-05/0.1279, allocations: 67.39 kB / 484.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.1279, allocations: 36.14 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1279, allocations: 4 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1279, allocations: 3.984 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1279, allocations: 0 / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.128, allocations: 0 / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.128, allocations: 0 / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.128, allocations: 4.031 kB / 484.3 MB, free: 456 kB / 350.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 9.341e-05/0.1281, allocations: 135.5 kB / 484.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1281, allocations: 11.88 kB / 484.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-06/0.1281, allocations: 3.125 kB / 484.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1281, allocations: 3.938 kB / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1281, allocations: 0 / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1281, allocations: 4 kB / 484.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1283, allocations: 149.7 kB / 484.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1283, allocations: 0 / 484.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1283, allocations: 4 kB / 484.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1283, allocations: 3.938 kB / 484.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1283, allocations: 3.984 kB / 484.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1283, allocations: 4 kB / 484.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1283, allocations: 0 / 484.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1284, allocations: 86.88 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1285, allocations: 85.02 kB / 484.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1285, allocations: 7.969 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.1285, allocations: 4 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.1286, allocations: 0 / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1286, allocations: 0 / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.215e-05/0.1286, allocations: 79.22 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1286, allocations: 4 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1289, allocations: 60 kB / 484.9 MB, free: 15.7 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.0004931/0.1294, allocations: 192.9 kB / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1295, allocations: 63.39 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1296, allocations: 0 / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.1296, allocations: 55.41 kB / 485.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1297, allocations: 4.219 kB / 485.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.1299, allocations: 78.89 kB / 485.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1302, allocations: 0.6731 MB / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.1302, allocations: 0 / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.1303, allocations: 11.44 kB / 486 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1303, allocations: 0 / 486 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Templates: time 0.004621/0.1349, allocations: 1.631 MB / 487.6 MB, free: 12.92 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches