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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 92.97 kB / 20.21 MB, free: 4.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 32.38 MB / 270 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.092e-05, allocations: 6.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001994/0.002025, allocations: 0.5093 MB / 347.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.009321, allocations: 5.012 MB / 352.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.009341, allocations: 0 / 352.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.009354, allocations: 0 / 352.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.009361, allocations: 3.938 kB / 352.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.01068, allocations: 259 kB / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.01074, allocations: 0 / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.01078, allocations: 0 / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.01082, allocations: 4 kB / 352.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.01084, allocations: 3.984 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.01085, allocations: 0 / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.01183, allocations: 447 kB / 353.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.01184, allocations: 0 / 353.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.01186, allocations: 0 / 353.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.01245, allocations: 351 kB / 353.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01245, allocations: 0 / 353.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01245, allocations: 0 / 353.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.01246, allocations: 0 / 353.5 MB, free: 3.199 MB / 282.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.0004019/0.01286, allocations: 421.5 kB / 353.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.0129, allocations: 12.03 kB / 353.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.01295, allocations: 0.9375 kB / 353.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.695e-05/0.01301, allocations: 104.6 kB / 354 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.01302, allocations: 384 / 354 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.01303, allocations: 4.375 kB / 354 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.01313, allocations: 63.91 kB / 354.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.01314, allocations: 192 / 354.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.01315, allocations: 8.125 kB / 354.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01315, allocations: 0 / 354.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.01318, allocations: 33.67 kB / 354.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.01328, allocations: 108.6 kB / 354.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.01335, allocations: 48.77 kB / 354.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.01337, allocations: 37.48 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.01338, allocations: 0 / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.01342, allocations: 67.03 kB / 354.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.01342, allocations: 0 / 354.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000225/0.01365, allocations: 118.8 kB / 354.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.01368, allocations: 85.05 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.572e-05/0.01372, allocations: 146.2 kB / 354.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.01372, allocations: 25.7 kB / 354.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.01374, allocations: 126.9 kB / 354.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.01376, allocations: 3.953 kB / 354.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.0138, allocations: 23.36 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.01387, allocations: 492.1 kB / 355.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.01389, allocations: 29.7 kB / 355.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.0139, allocations: 29.83 kB / 355.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.01395, allocations: 71.03 kB / 355.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01395, allocations: 0 / 355.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.669e-05/0.01403, allocations: 89.09 kB / 355.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01405, allocations: 29.7 kB / 355.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01406, allocations: 0 / 355.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01407, allocations: 0 / 355.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.01407, allocations: 4 kB / 355.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01408, allocations: 3.938 kB / 355.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.0141, allocations: 0 / 355.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.0141, allocations: 8.031 kB / 355.6 MB, free: 0.7461 MB / 282.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.536e-05/0.01417, allocations: 190.3 kB / 355.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.01418, allocations: 0 / 355.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.01419, allocations: 6.938 kB / 355.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01419, allocations: 0 / 355.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.0142, allocations: 7.938 kB / 355.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.0142, allocations: 0 / 355.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.571e-05/0.01426, allocations: 104.6 kB / 355.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01426, allocations: 0 / 355.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.01426, allocations: 0 / 355.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01426, allocations: 7.984 kB / 355.9 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01427, allocations: 4 kB / 356 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01427, allocations: 4 kB / 356 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01427, allocations: 0 / 356 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.01438, allocations: 131.8 kB / 356.1 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.01438, allocations: 0 / 356.1 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.0144, allocations: 4 kB / 356.1 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.01441, allocations: 0 / 356.1 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.01443, allocations: 0 / 356.1 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.01443, allocations: 3.938 kB / 356.1 MB, free: 208 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.007e-05/0.01445, allocations: 119.2 kB / 356.2 MB, free: 88 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01445, allocations: 11.97 kB / 356.2 MB, free: 76 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.0149, allocations: 67.8 kB / 356.3 MB, free: 8 kB / 282.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.0007286/0.01563, allocations: 192.9 kB / 356.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01584, allocations: 122.4 kB / 356.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01584, allocations: 4.062 kB / 356.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.01594, allocations: 92.78 kB / 356.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01614, allocations: 4 kB / 356.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.01643, allocations: 113.7 kB / 356.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.01651, allocations: 63.28 kB / 356.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.453e-06/0.01652, allocations: 0 / 356.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.01654, allocations: 8.5 kB / 356.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01654, allocations: 0 / 356.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00721/0.02375, allocations: 1.739 MB / 358.6 MB, free: 13.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.838783611077815]