Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001076/0.001076, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001211/0.001211, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.827e-05, allocations: 2.312 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001046/0.001064, allocations: 0.5085 MB / 378.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.002972, allocations: 1.771 MB / 380.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.002995, allocations: 4 kB / 380.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.003011, allocations: 4 kB / 380.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.003018, allocations: 0 / 380.3 MB, free: 0.6953 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0008877/0.003906, allocations: 254.9 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.003956, allocations: 4 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.003992, allocations: 0 / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.004016, allocations: 4 kB / 380.5 MB, free: 448 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.004034, allocations: 3.984 kB / 380.5 MB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.004041, allocations: 0 / 380.5 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.004607, allocations: 447 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.004616, allocations: 0 / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.004638, allocations: 7.938 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.005337, allocations: 347 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005339, allocations: 0 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00534, allocations: 0 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.005343, allocations: 0 / 381.3 MB, free: 15.65 MB / 362.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.0003395/0.005683, allocations: 413.6 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.005719, allocations: 12.03 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.005754, allocations: 4.875 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.005815, allocations: 108.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005827, allocations: 384 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.005836, allocations: 4.375 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.005915, allocations: 59.91 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005923, allocations: 4.172 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.005931, allocations: 384 / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.005939, allocations: 3.938 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.005957, allocations: 29.69 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.496e-05/0.006042, allocations: 112.6 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.006082, allocations: 52.8 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.006102, allocations: 33.39 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.006106, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.006139, allocations: 71.09 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.00614, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.006295, allocations: 114.8 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.006331, allocations: 81.05 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.00637, allocations: 142.2 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.006379, allocations: 25.7 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.006405, allocations: 135 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.00642, allocations: 352 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.006442, allocations: 23.36 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.00655, allocations: 492.1 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.006567, allocations: 29.7 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.006579, allocations: 29.64 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.006624, allocations: 63.09 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.006626, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.674e-05/0.006682, allocations: 97.05 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.006706, allocations: 35.67 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006711, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006723, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.006724, allocations: 4 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.00673, allocations: 3.938 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.006741, allocations: 4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006746, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.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.313e-05/0.006809, allocations: 186.3 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.006815, allocations: 7.875 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-06/0.006822, allocations: 3 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.006823, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.006827, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006831, allocations: 3.938 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.681e-05/0.006878, allocations: 108.6 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006878, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.006879, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.006879, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.006887, allocations: 7.984 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006888, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006888, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.00696, allocations: 127.8 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.006964, allocations: 8.016 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.006979, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-06/0.006984, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.006998, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.007001, allocations: 3.984 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.627e-05/0.007037, allocations: 127.1 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007037, allocations: 0 / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.007273, allocations: 67.8 kB / 384.1 MB, free: 12.47 MB / 362.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.0003762/0.007649, allocations: 207.6 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.007757, allocations: 114.5 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007759, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.007789, allocations: 100.7 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.289e-05/0.007882, allocations: 4 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.008052, allocations: 109.8 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.008079, allocations: 55.36 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.008085, allocations: 3.984 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.008096, allocations: 8.5 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.008097, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003173/0.01127, allocations: 1.68 MB / 386.4 MB, free: 10.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.047331423033029]