Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 109.3 kB / 18.39 MB, free: 4.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.1 kB / 19.32 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.45 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 60.81 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001725/0.1305, allocations: 496.6 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1329, allocations: 1.758 MB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.133, allocations: 0 / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-06/0.133, allocations: 0 / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.888e-06/0.133, allocations: 4 kB / 472.9 MB, free: 11.4 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.0008363/0.1338, allocations: 219.3 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.1339, allocations: 4 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1339, allocations: 3.984 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.1339, allocations: 0 / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.563e-05/0.134, allocations: 4 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.134, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.1346, allocations: 415.2 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.1346, allocations: 0 / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.1346, allocations: 0 / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.135, allocations: 307.4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.135, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.135, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.135, allocations: 0 / 473.9 MB, free: 10.46 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.0003808/0.1354, allocations: 389.2 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1355, allocations: 12.03 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.1355, allocations: 0.9375 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1357, allocations: 164.4 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1357, allocations: 384 / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1357, allocations: 4.359 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1358, allocations: 37.95 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1358, allocations: 0 / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1358, allocations: 0 / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1359, allocations: 3.984 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.1359, allocations: 0 / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.136, allocations: 153.7 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.1361, allocations: 18.56 kB / 474.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.1361, allocations: 4.859 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.1361, allocations: 3.938 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1362, allocations: 64.27 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1362, allocations: 0 / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.1363, allocations: 67.41 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1364, allocations: 81.09 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.1364, allocations: 89.86 kB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1365, allocations: 25.7 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.1365, allocations: 84.08 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1365, allocations: 0 / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1366, allocations: 13.72 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1367, allocations: 310.8 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.1367, allocations: 4.125 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.1367, allocations: 11.94 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.1368, allocations: 60.27 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1368, allocations: 0 / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.015e-05/0.1369, allocations: 63.39 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.1369, allocations: 37.64 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1369, allocations: 0 / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.137, allocations: 0 / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.137, allocations: 4.094 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.137, allocations: 0 / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.137, allocations: 0 / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.137, allocations: 3.938 kB / 475.5 MB, free: 8.516 MB / 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 8.967e-05/0.1371, allocations: 143.5 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.1371, allocations: 3.938 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.1371, allocations: 3.125 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1371, allocations: 3.938 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1372, allocations: 4 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1372, allocations: 4 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1373, allocations: 149.7 kB / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1373, allocations: 0 / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1373, allocations: 0 / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1373, allocations: 3.938 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1373, allocations: 4 kB / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1373, allocations: 0 / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1373, allocations: 0 / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.617e-05/0.1374, allocations: 98.73 kB / 475.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.1375, allocations: 77.11 kB / 476 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1375, allocations: 3.938 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-06/0.1375, allocations: 0 / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1375, allocations: 0 / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1375, allocations: 4 kB / 476 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.1376, allocations: 75.28 kB / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1376, allocations: 0 / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1379, allocations: 67.98 kB / 476.2 MB, free: 7.773 MB / 350.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.0004317/0.1383, allocations: 196 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.1384, allocations: 59.34 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1384, allocations: 0 / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.1385, allocations: 59.39 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1386, allocations: 8.125 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.1388, allocations: 84.88 kB / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.139, allocations: 0.6729 MB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.902e-06/0.1391, allocations: 0 / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-06/0.1391, allocations: 7.438 kB / 477.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1391, allocations: 0 / 477.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Templates: time 0.004109/0.1432, allocations: 1.629 MB / 478.9 MB, free: 4.992 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches