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.0008863/0.0008863, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009765/0.0009765, allocations: 167.2 kB / 24.84 MB, free: 9.297 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 0.8721/0.8721, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.1394/0.1394, allocations: 32.37 MB / 271.5 MB, free: 14.52 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 2.014e-06/2.014e-06, allocations: 4 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.601e-05, allocations: 6.25 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001258/0.001284, allocations: 0.508 MB / 349.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.005961, allocations: 4.996 MB / 354.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.005985, allocations: 0 / 354.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.005998, allocations: 0 / 354.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.006004, allocations: 0 / 354.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.006931, allocations: 267 kB / 354.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.006973, allocations: 0 / 354.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.007005, allocations: 0 / 354.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.007029, allocations: 4 kB / 354.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.007047, allocations: 0 / 354.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.007054, allocations: 3.984 kB / 354.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.007553, allocations: 458.9 kB / 355.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.007561, allocations: 0 / 355.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.007574, allocations: 0 / 355.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.007972, allocations: 351 kB / 355.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007976, allocations: 0 / 355.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.007979, allocations: 0 / 355.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.007983, allocations: 0 / 355.5 MB, free: 2.578 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.0003293/0.008313, allocations: 409.6 kB / 355.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.008357, allocations: 8.031 kB / 355.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.008388, allocations: 4.875 kB / 355.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.433e-05/0.008432, allocations: 112.6 kB / 356 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.008444, allocations: 4.375 kB / 356 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.008451, allocations: 384 / 356 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.992e-05/0.008521, allocations: 59.97 kB / 356 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.008526, allocations: 192 / 356 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.008532, allocations: 4.125 kB / 356.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.008536, allocations: 0 / 356.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.049e-05/0.008547, allocations: 25.7 kB / 356.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.341e-05/0.0086, allocations: 97.25 kB / 356.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.008632, allocations: 56.64 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.008647, allocations: 41.48 kB / 356.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-06/0.008649, allocations: 0 / 356.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.008679, allocations: 63.09 kB / 356.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.00868, allocations: 0 / 356.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.008809, allocations: 122.8 kB / 356.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.00883, allocations: 85.05 kB / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.481e-05/0.008855, allocations: 146.2 kB / 356.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-06/0.008859, allocations: 25.7 kB / 356.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.24e-05/0.008871, allocations: 126.9 kB / 356.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.008887, allocations: 4.297 kB / 356.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.00891, allocations: 23.5 kB / 356.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.008965, allocations: 492.1 kB / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.008978, allocations: 29.69 kB / 357.4 MB, free: 440 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.008988, allocations: 29.7 kB / 357.4 MB, free: 404 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.009019, allocations: 63.09 kB / 357.5 MB, free: 324 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00902, allocations: 0 / 357.5 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.418e-05/0.009064, allocations: 93.09 kB / 357.5 MB, free: 212 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.009085, allocations: 33.64 kB / 357.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009089, allocations: 0 / 357.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.009103, allocations: 4.094 kB / 357.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.009105, allocations: 0 / 357.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.009108, allocations: 0 / 357.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.009121, allocations: 7.938 kB / 357.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.009126, allocations: 0 / 357.6 MB, free: 160 kB / 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 7.399e-05/0.0092, allocations: 178.3 kB / 357.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.009206, allocations: 4 kB / 357.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.009217, allocations: 6.984 kB / 357.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009219, allocations: 0 / 357.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.009221, allocations: 0 / 357.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009225, allocations: 3.938 kB / 357.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.082e-05/0.009286, allocations: 97.27 kB / 357.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009287, allocations: 0 / 357.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.009287, allocations: 0 / 357.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.009288, allocations: 0 / 357.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.009292, allocations: 0 / 357.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.009293, allocations: 3.938 kB / 357.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.009296, allocations: 3.984 kB / 357.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.009401, allocations: 143.7 kB / 358 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.009406, allocations: 0 / 358 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.009415, allocations: 0 / 358 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-06/0.00942, allocations: 4.031 kB / 358 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.00943, allocations: 4 kB / 358 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.009433, allocations: 3.984 kB / 358 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.009466, allocations: 119.2 kB / 358.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009466, allocations: 0 / 358.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.009728, allocations: 63.81 kB / 358.2 MB, free: 15.45 MB / 298.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.0003869/0.01012, allocations: 200.9 kB / 358.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.957e-05/0.01021, allocations: 130.4 kB / 358.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01022, allocations: 0 / 358.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.01025, allocations: 88.8 kB / 358.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.218e-05/0.01034, allocations: 3.938 kB / 358.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.01053, allocations: 113.6 kB / 358.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.01057, allocations: 51.36 kB / 358.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.01058, allocations: 0 / 358.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.01063, allocations: 74.33 kB / 358.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01063, allocations: 4 kB / 358.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003906/0.01454, allocations: 1.98 MB / 360.8 MB, free: 12.72 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.014117978978902]