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.0009472/0.0009472, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.0009628/0.0009628, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9596/0.9596, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1458/0.1458, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.916e-06/2.916e-06, allocations: 3.984 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.075e-05, allocations: 2.312 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001001/0.001022, allocations: 0.5198 MB / 348.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004752/0.005774, allocations: 5 MB / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.005802, allocations: 0 / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.00582, allocations: 0 / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.005827, allocations: 0 / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.006769, allocations: 259 kB / 353.9 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.006814, allocations: 8 kB / 353.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.006851, allocations: 0 / 353.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.006881, allocations: 3.984 kB / 353.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.804e-05/0.006899, allocations: 0 / 353.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.006906, allocations: 0 / 353.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.007424, allocations: 454.9 kB / 354.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.007432, allocations: 0 / 354.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.007446, allocations: 0 / 354.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.007775, allocations: 355 kB / 354.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007778, allocations: 0 / 354.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007778, allocations: 0 / 354.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.007782, allocations: 4 kB / 354.7 MB, free: 2.57 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.000268/0.00805, allocations: 409.6 kB / 355.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.008089, allocations: 12.03 kB / 355.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.00812, allocations: 0.9375 kB / 355.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.134e-05/0.008161, allocations: 108.6 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.008171, allocations: 4.375 kB / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.008178, allocations: 384 / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.00825, allocations: 59.95 kB / 355.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.008257, allocations: 192 / 355.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.008263, allocations: 8.062 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.008269, allocations: 4 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.00828, allocations: 25.7 kB / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.039e-05/0.00834, allocations: 93.27 kB / 355.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.925e-05/0.00837, allocations: 52.75 kB / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.008381, allocations: 41.47 kB / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.008385, allocations: 0 / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.008411, allocations: 59.09 kB / 355.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.008411, allocations: 0 / 355.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.008537, allocations: 126.7 kB / 355.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.008558, allocations: 85.22 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.345e-05/0.008582, allocations: 146.2 kB / 355.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.008587, allocations: 25.7 kB / 355.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.0086, allocations: 126.9 kB / 356 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.008617, allocations: 4.297 kB / 356 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.008636, allocations: 19.38 kB / 356.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.008688, allocations: 492.1 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.008698, allocations: 25.7 kB / 356.6 MB, free: 444 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-06/0.008706, allocations: 29.7 kB / 356.6 MB, free: 408 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.00874, allocations: 75.02 kB / 356.7 MB, free: 316 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008742, allocations: 8.062 kB / 356.7 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.885e-05/0.008781, allocations: 85.11 kB / 356.8 MB, free: 204 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.008801, allocations: 29.7 kB / 356.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.008806, allocations: 0 / 356.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.008818, allocations: 0 / 356.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.00882, allocations: 3.984 kB / 356.8 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.008823, allocations: 0 / 356.8 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.008835, allocations: 11.94 kB / 356.8 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.00884, allocations: 0 / 356.8 MB, free: 152 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 6.808e-05/0.008908, allocations: 178.3 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-06/0.008913, allocations: 8.031 kB / 357 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/0.008926, allocations: 3 kB / 357 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008927, allocations: 0 / 357 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008929, allocations: 0 / 357 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.008933, allocations: 3.938 kB / 357 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.118e-05/0.008995, allocations: 101.2 kB / 357.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008996, allocations: 0 / 357.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-06/0.008998, allocations: 3.938 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.009, allocations: 3.984 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.009005, allocations: 4 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.009006, allocations: 4 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009008, allocations: 4 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.009096, allocations: 127.8 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-06/0.0091, allocations: 0 / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.009111, allocations: 0 / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-06/0.009115, allocations: 3.938 kB / 357.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.009124, allocations: 4 kB / 357.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.009126, allocations: 0 / 357.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.009162, allocations: 119.2 kB / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009162, allocations: 0 / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.00939, allocations: 67.8 kB / 357.4 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.0003492/0.009739, allocations: 199 kB / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.00985, allocations: 130.4 kB / 357.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009852, allocations: 0 / 357.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.009886, allocations: 88.8 kB / 357.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.772e-05/0.009974, allocations: 10.66 kB / 357.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.01014, allocations: 113.6 kB / 358 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.01019, allocations: 51.36 kB / 358 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.871e-06/0.01019, allocations: 0 / 358 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.01024, allocations: 74.2 kB / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01024, allocations: 0 / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.003837/0.01408, allocations: 1.997 MB / 360.1 MB, free: 12.69 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: 2.9790876959450543]