Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 101.8 kB / 18.83 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 193.5 kB / 22.1 MB, free: 4.621 MB / 14.72 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.571/1.571, allocations: 207.6 MB / 232.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.293/0.293, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 78.22 kB / 482 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4611, allocations: 62.86 MB / 0.5321 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.00253/0.4636, allocations: 1.422 MB / 0.5335 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.464, allocations: 122.7 kB / 0.5336 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.464, allocations: 0 / 0.5336 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.464, allocations: 0.7031 kB / 0.5336 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.4641, allocations: 5.094 kB / 0.5336 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4643, allocations: 25.3 kB / 0.5337 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.4644, allocations: 25.55 kB / 0.5337 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4645, allocations: 3.812 kB / 0.5337 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.4646, allocations: 12.64 kB / 0.5337 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.4646, allocations: 22.34 kB / 0.5337 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4646, allocations: 1.344 kB / 0.5337 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4647, allocations: 26.19 kB / 0.5338 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.4647, allocations: 4.703 kB / 0.5338 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.4648, allocations: 11.86 kB / 0.5338 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.4649, allocations: 43.94 kB / 0.5338 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4649, allocations: 0 / 0.5338 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4649, allocations: 0 / 0.5338 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4649, allocations: 0 / 0.5338 GB, free: 6.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004054/0.4653, allocations: 281.7 kB / 0.5341 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4654, allocations: 8.688 kB / 0.5341 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.4654, allocations: 6.359 kB / 0.5341 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.4655, allocations: 107 kB / 0.5342 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4655, allocations: 5.688 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4655, allocations: 1.812 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.4657, allocations: 52.52 kB / 0.5343 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4657, allocations: 0 / 0.5343 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4657, allocations: 0 / 0.5343 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4657, allocations: 5.125 kB / 0.5343 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.4659, allocations: 33.03 kB / 0.5343 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.4662, allocations: 221.8 kB / 0.5345 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4663, allocations: 40.59 kB / 0.5345 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.4664, allocations: 23.69 kB / 0.5346 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/0.4668, allocations: 49.33 kB / 0.5346 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.4668, allocations: 32.8 kB / 0.5346 GB, free: 5.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4668, allocations: 0 / 0.5346 GB, free: 5.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003961/0.4672, allocations: 87.94 kB / 0.5347 GB, free: 5.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.4673, allocations: 57.05 kB / 0.5348 GB, free: 5.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.4673, allocations: 102.6 kB / 0.5349 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.4673, allocations: 26.95 kB / 0.5349 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.4674, allocations: 81.86 kB / 0.535 GB, free: 5.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.4674, allocations: 4.797 kB / 0.535 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.4674, allocations: 16.67 kB / 0.535 GB, free: 5.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.4675, allocations: 320.9 kB / 0.5353 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.4676, allocations: 19.64 kB / 0.5353 GB, free: 5.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.4677, allocations: 14.03 kB / 0.5353 GB, free: 5.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.4678, allocations: 41.75 kB / 0.5354 GB, free: 5.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4678, allocations: 0 / 0.5354 GB, free: 5.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002144/0.468, allocations: 71.11 kB / 0.5355 GB, free: 5.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.468, allocations: 5.875 kB / 0.5355 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.468, allocations: 4.188 kB / 0.5355 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.4681, allocations: 1.734 kB / 0.5355 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.4682, allocations: 12.61 kB / 0.5355 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4682, allocations: 0.5156 kB / 0.5355 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.4682, allocations: 9.578 kB / 0.5355 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4682, allocations: 1.656 kB / 0.5355 GB, free: 5.234 MB / 398.1 MB 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 (2): * Single equations (assignments): 2 * 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 5.676e-05/0.4683, allocations: 116.7 kB / 0.5356 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4683, allocations: 1.312 kB / 0.5356 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4685, allocations: 72.16 kB / 0.5357 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4685, allocations: 1.125 kB / 0.5357 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4685, allocations: 0 / 0.5357 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4686, allocations: 4.547 kB / 0.5357 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.4687, allocations: 135.5 kB / 0.5358 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4687, allocations: 4.906 kB / 0.5358 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.4687, allocations: 13.16 kB / 0.5358 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4687, allocations: 0 / 0.5358 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4688, allocations: 1.672 kB / 0.5358 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4688, allocations: 0 / 0.5358 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4688, allocations: 1.719 kB / 0.5358 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.469, allocations: 166.6 kB / 0.536 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.469, allocations: 2.406 kB / 0.536 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.469, allocations: 0 / 0.536 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.4691, allocations: 6.234 kB / 0.536 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4691, allocations: 6.5 kB / 0.536 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.4691, allocations: 1.125 kB / 0.536 GB, free: 4.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.749e-05/0.4691, allocations: 84.97 kB / 0.5361 GB, free: 4.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4691, allocations: 1.406 kB / 0.5361 GB, free: 4.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.4694, allocations: 6.969 kB / 0.5361 GB, free: 4.672 MB / 398.1 MB 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 (2): * Single equations (assignments): 2 * 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 0.0001441/0.4695, allocations: 105.9 kB / 0.5362 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.4698, allocations: 46.47 kB / 0.5362 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4698, allocations: 5.062 kB / 0.5362 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.4699, allocations: 16.73 kB / 0.5363 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.4702, allocations: 4.562 kB / 0.5363 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.4705, allocations: 114.8 kB / 0.5364 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4706, allocations: 0.6763 MB / 0.537 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.4706, allocations: 1.922 kB / 0.537 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.4707, allocations: 8.531 kB / 0.537 GB, free: 3.734 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4707, allocations: 0 / 0.537 GB, free: 3.734 MB / 398.1 MB Notification: Performance of Templates: time 0.00351/0.4742, allocations: 0.6467 MB / 0.5377 GB, free: 3.648 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.616075799800456] Failed to read output from testmodel.py, exit status != 0: 0.4830294521525502 0.501099261 0.032729196 Calling exit ...