Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.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.001419/0.001419, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001526/0.001526, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.9607/0.9607, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8381/0.8381, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5212 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.107e-05, allocations: 3.219 kB / 0.5212 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001616/0.001638, allocations: 0.5873 MB / 0.5218 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.001869, allocations: 32.98 kB / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.001889, allocations: 0 / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.001912, allocations: 2.062 kB / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-06/0.001921, allocations: 0 / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.002271, allocations: 11.98 kB / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.002322, allocations: 0 / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.00237, allocations: 0 / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.002403, allocations: 4.562 kB / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.002429, allocations: 1.094 kB / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.002445, allocations: 1 kB / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.002542, allocations: 19.97 kB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.002553, allocations: 0 / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.002566, allocations: 0.75 kB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.002692, allocations: 16.89 kB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002694, allocations: 1.125 kB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.002696, allocations: 7.938 kB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.0027, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.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.0002562/0.002956, allocations: 341.5 kB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.00299, allocations: 8.031 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.003015, allocations: 2.469 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.683e-05/0.003082, allocations: 108.6 kB / 0.5223 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.003094, allocations: 5.141 kB / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.003099, allocations: 384 / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.469e-05/0.003163, allocations: 31.28 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003171, allocations: 4.188 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.003177, allocations: 384 / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003183, allocations: 1.062 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.236e-05/0.003195, allocations: 5.219 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.372e-05/0.003279, allocations: 93.81 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.003313, allocations: 27 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.003326, allocations: 8.469 kB / 0.5225 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.003359, allocations: 8.094 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.425e-05/0.003433, allocations: 34.2 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003434, allocations: 3.938 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.003569, allocations: 42.31 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.003606, allocations: 51.41 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.003655, allocations: 143.1 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.003666, allocations: 25.7 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.003705, allocations: 129.1 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.003743, allocations: 0 / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.003771, allocations: 19.38 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.003921, allocations: 0.4883 MB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.003932, allocations: 3.984 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.003941, allocations: 5.031 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.003969, allocations: 11.69 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003971, allocations: 1.375 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.23e-05/0.004024, allocations: 41.62 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.004037, allocations: 4 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.004042, allocations: 1.5 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.004052, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.887e-05/0.004101, allocations: 4 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.004103, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.004114, allocations: 4.578 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.004126, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.773e-05/0.004193, allocations: 161.5 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-06/0.004197, allocations: 0 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.004282, allocations: 42.88 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.004285, allocations: 4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.004287, allocations: 0.5 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004291, allocations: 2.844 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.158e-05/0.004352, allocations: 93.2 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004353, allocations: 3.938 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.004363, allocations: 4 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.004363, allocations: 0 / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.004368, allocations: 0 / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.004368, allocations: 0 / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.00437, allocations: 4 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.017e-05/0.00443, allocations: 78.77 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.004434, allocations: 0 / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-06/0.00444, allocations: 3.938 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.004464, allocations: 4 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-06/0.004473, allocations: 0 / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004475, allocations: 0 / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.004504, allocations: 120.6 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004505, allocations: 0 / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001172/0.004622, allocations: 7.938 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 9.505e-05/0.004717, allocations: 104.2 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.596e-05/0.004773, allocations: 16.84 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.004774, allocations: 0 / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.00478, allocations: 7.688 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.292e-05/0.004863, allocations: 11.16 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.004995, allocations: 83.97 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.005019, allocations: 55.36 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.005039, allocations: 3.984 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.005072, allocations: 73.23 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.005072, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001656/0.006728, allocations: 316.2 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6502662897109985]