Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4314/0.4314, allocations: 54.94 MB / 324.7 MB, free: 15.93 MB / 270.1 MB 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.001508/0.001508, allocations: 63.91 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1643, allocations: 59.6 MB / 454.9 MB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.3122/0.4765, allocations: 1.73 MB / 456.7 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4777, allocations: 0.6816 MB / 457.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.4778, allocations: 2.844 kB / 457.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.4779, allocations: 13.92 kB / 457.4 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.478, allocations: 19.48 kB / 457.4 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.4785, allocations: 166.9 kB / 457.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4787, allocations: 123.8 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.4789, allocations: 46.97 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.479, allocations: 60.92 kB / 457.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.4791, allocations: 44.77 kB / 457.8 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.4792, allocations: 10.25 kB / 457.8 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.4793, allocations: 47.62 kB / 457.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.4794, allocations: 32.27 kB / 457.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.4794, allocations: 60.09 kB / 458 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.4797, allocations: 142.2 kB / 458.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4797, allocations: 0 / 458.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4797, allocations: 3.031 kB / 458.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4797, allocations: 0 / 458.1 MB, free: 38.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006883/0.4804, allocations: 439 kB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4805, allocations: 11.56 kB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.4813, allocations: 113.2 kB / 458.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.4815, allocations: 178.7 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/0.4816, allocations: 62.38 kB / 458.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4816, allocations: 13.28 kB / 458.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.4821, allocations: 175.7 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4821, allocations: 0.5625 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4822, allocations: 0.7812 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.4822, allocations: 3.594 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.4828, allocations: 164.2 kB / 459.2 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4838, allocations: 490.1 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.4848, allocations: 219.9 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.4851, allocations: 84.11 kB / 460 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.4851, allocations: 6.625 kB / 460 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4852, allocations: 36.09 kB / 460 MB, free: 37.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4852, allocations: 0 / 460 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009834/0.4862, allocations: 261.3 kB / 460.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4862, allocations: 51.41 kB / 460.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4863, allocations: 146.3 kB / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4864, allocations: 29.17 kB / 460.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.4864, allocations: 109.8 kB / 460.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.4865, allocations: 23.22 kB / 460.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.4865, allocations: 24.67 kB / 460.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.4866, allocations: 320.8 kB / 461 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.4869, allocations: 75.69 kB / 461.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.4872, allocations: 91.92 kB / 461.2 MB, free: 36.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.4878, allocations: 163.7 kB / 461.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4878, allocations: 2.031 kB / 461.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006468/0.4885, allocations: 202.8 kB / 461.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4885, allocations: 11.53 kB / 461.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4885, allocations: 3.375 kB / 461.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4885, allocations: 0 / 461.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.4888, allocations: 38.14 kB / 461.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4888, allocations: 6.031 kB / 461.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.489, allocations: 24.64 kB / 461.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.489, allocations: 5.75 kB / 461.6 MB, free: 36.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.738e-05/0.4891, allocations: 116.8 kB / 461.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.4892, allocations: 15.06 kB / 461.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.4899, allocations: 211.6 kB / 461.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.4899, allocations: 3 kB / 461.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4899, allocations: 0 / 461.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4899, allocations: 0 / 461.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.4901, allocations: 232.1 kB / 462.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4901, allocations: 3.938 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.4903, allocations: 37.39 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4903, allocations: 3.938 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4903, allocations: 2.719 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4903, allocations: 3.047 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4904, allocations: 0 / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.491, allocations: 287.4 kB / 462.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.491, allocations: 88.89 kB / 462.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4911, allocations: 3.094 kB / 462.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.4914, allocations: 31.33 kB / 462.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4914, allocations: 5.625 kB / 462.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.4914, allocations: 11.31 kB / 462.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.4915, allocations: 103.8 kB / 462.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4915, allocations: 0 / 462.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.4918, allocations: 24.78 kB / 462.8 MB, free: 36.07 MB / 382.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 (6): * Single equations (assignments): 6 * 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.0001005/0.4919, allocations: 96.91 kB / 462.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.4925, allocations: 168.9 kB / 463 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4925, allocations: 0 / 463 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4928, allocations: 83.95 kB / 463.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4932, allocations: 13.78 kB / 463.1 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.4938, allocations: 258.1 kB / 463.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.494, allocations: 0.7006 MB / 464.1 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.4941, allocations: 18.8 kB / 464.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.4942, allocations: 16.44 kB / 464.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4942, allocations: 0 / 464.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.003974/0.4982, allocations: 1.47 MB / 465.6 MB, free: 35.05 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)