Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009338/0.0009339, allocations: 108 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.0009881, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09948, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001616/0.1011, allocations: 0.5619 MB / 487.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.1067, allocations: 5.136 MB / 492.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-06/0.1068, allocations: 3.938 kB / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.1068, allocations: 0 / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.1068, allocations: 0 / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.1076, allocations: 191.6 kB / 492.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.619e-05/0.1076, allocations: 0 / 492.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1076, allocations: 8 kB / 492.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.1076, allocations: 0 / 492.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.31e-05/0.1077, allocations: 0 / 492.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.1077, allocations: 4 kB / 492.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.1082, allocations: 395.2 kB / 493.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.1083, allocations: 0 / 493.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1083, allocations: 0 / 493.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.1087, allocations: 307.4 kB / 493.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1087, allocations: 0 / 493.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1087, allocations: 0 / 493.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.1087, allocations: 0 / 493.6 MB, free: 5.926 MB / 378.7 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.0003506/0.1091, allocations: 385.3 kB / 494 MB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1091, allocations: 8.031 kB / 494 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.1092, allocations: 0.9375 kB / 494 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.1093, allocations: 164.3 kB / 494.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1093, allocations: 4.375 kB / 494.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1093, allocations: 384 / 494.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.1094, allocations: 41.81 kB / 494.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.1094, allocations: 0 / 494.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1094, allocations: 4 kB / 494.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1094, allocations: 4 kB / 494.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.1094, allocations: 11.88 kB / 494.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1096, allocations: 141.7 kB / 494.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.1096, allocations: 22.55 kB / 494.4 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.1096, allocations: 8.859 kB / 494.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.1096, allocations: 0 / 494.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.1097, allocations: 68.25 kB / 494.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1097, allocations: 0 / 494.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.1098, allocations: 63.31 kB / 494.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1099, allocations: 81.11 kB / 494.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.1099, allocations: 89.86 kB / 494.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1099, allocations: 25.7 kB / 494.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.11, allocations: 88.2 kB / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.11, allocations: 0 / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.11, allocations: 21.7 kB / 494.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.1101, allocations: 310.8 kB / 495.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.1101, allocations: 0 / 495.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.1101, allocations: 0 / 495.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.1102, allocations: 60.27 kB / 495.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1102, allocations: 4.062 kB / 495.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.041e-05/0.1103, allocations: 67.39 kB / 495.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.1103, allocations: 33.64 kB / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1103, allocations: 0 / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1103, allocations: 4 kB / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-06/0.1103, allocations: 0 / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1103, allocations: 3.938 kB / 495.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.1104, allocations: 0 / 495.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1104, allocations: 0 / 495.3 MB, free: 3.973 MB / 378.7 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 6.595e-05/0.1104, allocations: 139.6 kB / 495.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1105, allocations: 7.922 kB / 495.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.456e-06/0.1105, allocations: 3.125 kB / 495.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1105, allocations: 0 / 495.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1105, allocations: 0 / 495.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1105, allocations: 0 / 495.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.299e-05/0.1106, allocations: 145.7 kB / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1106, allocations: 0 / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1106, allocations: 0 / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1106, allocations: 7.875 kB / 495.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1106, allocations: 7.969 kB / 495.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1106, allocations: 4 kB / 495.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1106, allocations: 4 kB / 495.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1109, allocations: 0.6374 MB / 496.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.111, allocations: 81.11 kB / 496.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.111, allocations: 3.938 kB / 496.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.111, allocations: 4.031 kB / 496.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.111, allocations: 7.984 kB / 496.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.111, allocations: 0 / 496.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.036e-05/0.111, allocations: 79.28 kB / 496.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.111, allocations: 0 / 496.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.1114, allocations: 64 kB / 496.5 MB, free: 2.637 MB / 378.7 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.0003741/0.1118, allocations: 198.3 kB / 496.6 MB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.1119, allocations: 67.33 kB / 496.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1119, allocations: 0 / 496.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.1119, allocations: 55.41 kB / 496.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.1121, allocations: 0 / 496.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.1123, allocations: 181.4 kB / 496.9 MB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1125, allocations: 0.6772 MB / 497.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.618e-06/0.1125, allocations: 0 / 497.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-06/0.1125, allocations: 7.438 kB / 497.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1125, allocations: 0 / 497.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of Templates: time 0.003642/0.1162, allocations: 1.678 MB / 499.3 MB, free: 15.69 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches