Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.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.0009321/0.0009321, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.0009507/0.0009507, allocations: 173 kB / 23.5 MB, free: 1.047 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.9405/0.9405, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7696/0.7696, allocations: 154.8 MB / 415.1 MB, free: 488 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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.796e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001065/0.001083, allocations: 0.6096 MB / 0.5212 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.001282, allocations: 61.47 kB / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.001298, allocations: 0 / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.001313, allocations: 0 / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.00132, allocations: 0.9062 kB / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.001551, allocations: 25.38 kB / 0.5213 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.001601, allocations: 20.73 kB / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.001637, allocations: 0.75 kB / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.001665, allocations: 7.938 kB / 0.5213 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.001713, allocations: 8.953 kB / 0.5214 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.001725, allocations: 0 / 0.5214 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.001792, allocations: 19.97 kB / 0.5214 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.001805, allocations: 1.75 kB / 0.5214 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.001821, allocations: 4 kB / 0.5214 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.001903, allocations: 23.95 kB / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001905, allocations: 0 / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.001906, allocations: 0 / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00191, allocations: 0.5625 kB / 0.5214 GB, free: 1.449 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002748/0.002185, allocations: 344.9 kB / 0.5217 GB, free: 1.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.002221, allocations: 20.94 kB / 0.5218 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.002256, allocations: 4.938 kB / 0.5218 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.62e-05/0.002312, allocations: 108.6 kB / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.002321, allocations: 1.406 kB / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.00233, allocations: 384 / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.002435, allocations: 89.23 kB / 0.5219 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.002441, allocations: 4.188 kB / 0.522 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.002451, allocations: 5.75 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.002458, allocations: 384 / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.002483, allocations: 15.88 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.0026, allocations: 151.9 kB / 0.5221 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.002685, allocations: 140.2 kB / 0.5223 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.002717, allocations: 43.81 kB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.002833, allocations: 11.98 kB / 0.5223 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.002853, allocations: 37.39 kB / 0.5223 GB, free: 268 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.002854, allocations: 0.75 kB / 0.5223 GB, free: 268 kB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001508/0.003005, allocations: 83.78 kB / 0.5224 GB, free: 180 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.003072, allocations: 154.2 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.003107, allocations: 142.9 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.003116, allocations: 25.7 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.003146, allocations: 131.7 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.003178, allocations: 11.97 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.003204, allocations: 24.3 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.003313, allocations: 0.4922 MB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.003326, allocations: 0 / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.003359, allocations: 61.02 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.003415, allocations: 62.38 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003417, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.827e-05/0.003486, allocations: 66.98 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.003497, allocations: 4.562 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.003501, allocations: 0 / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.003512, allocations: 5.031 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.00357, allocations: 8 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.003575, allocations: 1.188 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.003592, allocations: 7.938 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.003598, allocations: 0 / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.037e-05/0.003658, allocations: 169.1 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.003671, allocations: 11.94 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.003804, allocations: 99.5 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.003806, allocations: 0 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.003811, allocations: 4 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.003815, allocations: 0.875 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.883e-05/0.003893, allocations: 124.6 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.003895, allocations: 2.75 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.003927, allocations: 27.92 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.003929, allocations: 128 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.003938, allocations: 8 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.003939, allocations: 0 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00394, allocations: 0 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.004045, allocations: 159 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.00405, allocations: 6.781 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-06/0.004059, allocations: 0 / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.004074, allocations: 4 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.004096, allocations: 19.86 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.0041, allocations: 4 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.004126, allocations: 119.2 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004126, allocations: 0 / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001354/0.004261, allocations: 5.344 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.939e-05/0.004361, allocations: 107.2 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.004446, allocations: 43.64 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.004448, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.004473, allocations: 35.55 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.004584, allocations: 5.406 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.004803, allocations: 169 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.004835, allocations: 59.34 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.004862, allocations: 6.469 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.004883, allocations: 13.38 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.004884, allocations: 0 / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.001941/0.006824, allocations: 0.5621 MB / 0.5253 GB, free: 13 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6873250040225685]