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.001478/0.001478, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001867/0.001867, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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.499/1.499, allocations: 158.6 MB / 185.3 MB, free: 2.922 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.2303/0.2303, allocations: 32.36 MB / 270 MB, free: 14.88 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.593e-06/1.593e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.164e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001367/0.001399, allocations: 0.4946 MB / 347.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.006167, allocations: 4.702 MB / 352.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.006186, allocations: 0 / 352.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.136e-05/0.006198, allocations: 0 / 352.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.006204, allocations: 3.938 kB / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.007182, allocations: 259 kB / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.007236, allocations: 0 / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.007274, allocations: 0 / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.007308, allocations: 4 kB / 352.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.007337, allocations: 0 / 352.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.007345, allocations: 3.938 kB / 352.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.007945, allocations: 455 kB / 352.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.007953, allocations: 0 / 352.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.007978, allocations: 0 / 352.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.008375, allocations: 347.1 kB / 353.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.008379, allocations: 0 / 353.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00838, allocations: 0 / 353.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.008386, allocations: 0 / 353.2 MB, free: 3.543 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.0003166/0.008702, allocations: 315.5 kB / 353.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.008741, allocations: 8.031 kB / 353.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.008786, allocations: 4.938 kB / 353.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.802e-05/0.008834, allocations: 109.8 kB / 353.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.008847, allocations: 384 / 353.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.008855, allocations: 384 / 353.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.308e-05/0.008938, allocations: 55.97 kB / 353.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.008947, allocations: 192 / 353.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.008956, allocations: 4.125 kB / 353.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.00896, allocations: 0 / 353.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.008984, allocations: 33.64 kB / 353.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.063e-05/0.009065, allocations: 97.33 kB / 353.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.009108, allocations: 48.3 kB / 353.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.009124, allocations: 30.56 kB / 353.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.009134, allocations: 7.984 kB / 353.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.00917, allocations: 64.31 kB / 353.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.00917, allocations: 0 / 353.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.009361, allocations: 122.7 kB / 354 MB, free: 2.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.009391, allocations: 81.05 kB / 354.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.662e-05/0.009418, allocations: 89.86 kB / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.009426, allocations: 29.7 kB / 354.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.223e-05/0.009438, allocations: 80.14 kB / 354.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.009453, allocations: 3.953 kB / 354.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.009475, allocations: 13.84 kB / 354.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.009525, allocations: 318.8 kB / 354.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.00954, allocations: 29.69 kB / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.009551, allocations: 25.7 kB / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.00959, allocations: 60.27 kB / 354.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009592, allocations: 0 / 354.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.407e-05/0.009646, allocations: 93.05 kB / 354.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.00967, allocations: 37.69 kB / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009675, allocations: 0 / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.009693, allocations: 0 / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.009694, allocations: 4.094 kB / 354.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.009699, allocations: 3.938 kB / 354.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.009714, allocations: 0 / 354.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.009721, allocations: 7.938 kB / 354.9 MB, free: 1.523 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 5.428e-05/0.009775, allocations: 131.5 kB / 355 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.009784, allocations: 4 kB / 355 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.158e-05/0.009795, allocations: 6.984 kB / 355 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.009796, allocations: 0 / 355 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.009802, allocations: 3.938 kB / 355 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.009804, allocations: 0 / 355 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.237e-05/0.009847, allocations: 101.3 kB / 355.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.009847, allocations: 4 kB / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.009848, allocations: 0 / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.009849, allocations: 0 / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.009855, allocations: 4 kB / 355.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.009856, allocations: 0 / 355.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.009857, allocations: 0 / 355.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.009928, allocations: 124.4 kB / 355.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-06/0.009932, allocations: 4 kB / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.009943, allocations: 0 / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.009952, allocations: 4.031 kB / 355.3 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.009969, allocations: 3.984 kB / 355.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.009973, allocations: 7.938 kB / 355.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.009988, allocations: 75.28 kB / 355.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009988, allocations: 0 / 355.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.01031, allocations: 59.81 kB / 355.4 MB, free: 0.9219 MB / 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.0004229/0.01073, allocations: 202.2 kB / 355.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.01082, allocations: 114.7 kB / 355.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01082, allocations: 7.938 kB / 355.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.01084, allocations: 81.11 kB / 355.8 MB, free: 496 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.01097, allocations: 6.953 kB / 355.8 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.01116, allocations: 108 kB / 355.9 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.01118, allocations: 55.3 kB / 356 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.7e-06/0.01119, allocations: 4 kB / 356 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.0112, allocations: 8.5 kB / 356 MB, free: 264 kB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0112, allocations: 4.125 kB / 356 MB, free: 260 kB / 282.7 MB Notification: Performance of Templates: time 0.00553/0.01673, allocations: 1.738 MB / 357.7 MB, free: 14.52 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] 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.821748843998648]