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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002231/0.002231, allocations: 190.1 kB / 22.1 MB, free: 5.148 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.581/1.581, allocations: 207.6 MB / 232.8 MB, free: 10.02 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.3081/0.3081, allocations: 55.67 MB / 340.7 MB, free: 13.98 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") [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.002657/0.002657, allocations: 77.44 kB / 482 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4629, allocations: 62.87 MB / 0.5321 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.00393/0.4668, allocations: 1.759 MB / 0.5339 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4682, allocations: 0.6972 MB / 0.5345 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.4682, allocations: 1.125 kB / 0.5345 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.4683, allocations: 14.39 kB / 0.5346 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.4683, allocations: 15.11 kB / 0.5346 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.4688, allocations: 179.7 kB / 0.5347 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.469, allocations: 122.8 kB / 0.5349 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4691, allocations: 42.09 kB / 0.5349 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4692, allocations: 59.3 kB / 0.535 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.4693, allocations: 50.56 kB / 0.535 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.4693, allocations: 13.97 kB / 0.535 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4694, allocations: 48.66 kB / 0.5351 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.4695, allocations: 28.94 kB / 0.5351 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.4696, allocations: 63.16 kB / 0.5352 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.4698, allocations: 140.1 kB / 0.5353 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4698, allocations: 1.234 kB / 0.5353 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4698, allocations: 1.094 kB / 0.5353 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.4698, allocations: 0 / 0.5353 GB, free: 5.844 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000488/0.4703, allocations: 368.7 kB / 0.5356 GB, free: 5.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.4703, allocations: 13.09 kB / 0.5357 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009252/0.4713, allocations: 109.1 kB / 0.5358 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.4713, allocations: 135.4 kB / 0.5359 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.4714, allocations: 64.36 kB / 0.5359 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4714, allocations: 14.17 kB / 0.536 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.472, allocations: 162.1 kB / 0.5361 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.472, allocations: 0 / 0.5361 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.472, allocations: 5.188 kB / 0.5361 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.472, allocations: 2.25 kB / 0.5361 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.4727, allocations: 158.6 kB / 0.5363 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.4738, allocations: 457.3 kB / 0.5367 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4749, allocations: 217.6 kB / 0.5369 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.4752, allocations: 74.17 kB / 0.537 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4752, allocations: 6.219 kB / 0.537 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4753, allocations: 36.56 kB / 0.537 GB, free: 4.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.4753, allocations: 0 / 0.537 GB, free: 4.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001099/0.4764, allocations: 258.2 kB / 0.5373 GB, free: 4.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4764, allocations: 56.53 kB / 0.5373 GB, free: 4.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4765, allocations: 143.1 kB / 0.5375 GB, free: 4.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4765, allocations: 26.83 kB / 0.5375 GB, free: 4.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.4766, allocations: 113.7 kB / 0.5376 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.4766, allocations: 27.91 kB / 0.5376 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.4767, allocations: 24.03 kB / 0.5376 GB, free: 4.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.4767, allocations: 320.3 kB / 0.538 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4771, allocations: 82.91 kB / 0.538 GB, free: 3.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.4774, allocations: 92.95 kB / 0.5381 GB, free: 3.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.4781, allocations: 167.6 kB / 0.5383 GB, free: 3.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4781, allocations: 3.938 kB / 0.5383 GB, free: 3.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007753/0.4788, allocations: 205.9 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4789, allocations: 7.719 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4789, allocations: 2.531 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4789, allocations: 1.594 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.4792, allocations: 34.12 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4792, allocations: 1.344 kB / 0.5385 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.4794, allocations: 30.75 kB / 0.5386 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4794, allocations: 7.469 kB / 0.5386 GB, free: 3.762 MB / 398.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 0.0001157/0.4795, allocations: 115.7 kB / 0.5387 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.4796, allocations: 16.06 kB / 0.5387 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.4805, allocations: 210.7 kB / 0.5389 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.4805, allocations: 1.438 kB / 0.5389 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4805, allocations: 1.219 kB / 0.5389 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4805, allocations: 0.7031 kB / 0.5389 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4809, allocations: 200.6 kB / 0.5391 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4809, allocations: 0 / 0.5391 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.4812, allocations: 39.09 kB / 0.5391 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4812, allocations: 5.859 kB / 0.5391 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4812, allocations: 2.281 kB / 0.5391 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4812, allocations: 0 / 0.5391 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4812, allocations: 1.156 kB / 0.5391 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.4821, allocations: 286.6 kB / 0.5394 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4821, allocations: 19.09 kB / 0.5394 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4821, allocations: 2.109 kB / 0.5394 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4825, allocations: 32.62 kB / 0.5395 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.4825, allocations: 4.109 kB / 0.5395 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.4826, allocations: 7.406 kB / 0.5395 GB, free: 3.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.4827, allocations: 104 kB / 0.5396 GB, free: 3.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4827, allocations: 4 kB / 0.5396 GB, free: 3.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.483, allocations: 28.08 kB / 0.5396 GB, free: 3.07 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 (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.000138/0.4831, allocations: 93.14 kB / 0.5397 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.484, allocations: 166.3 kB / 0.5398 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.484, allocations: 1 kB / 0.5398 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4844, allocations: 79.94 kB / 0.5399 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4848, allocations: 8.406 kB / 0.5399 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.4856, allocations: 268.5 kB / 0.5402 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.4857, allocations: 0.7031 MB / 0.5409 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.4858, allocations: 15.72 kB / 0.5409 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.4859, allocations: 17.56 kB / 0.5409 GB, free: 2.027 MB / 398.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4859, allocations: 0 / 0.5409 GB, free: 2.027 MB / 398.1 MB Notification: Performance of Templates: time 0.005586/0.4915, allocations: 1.523 MB / 0.5424 GB, free: 1.898 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.541496147401631] Failed to read output from testmodel.py, exit status != 0: 0.5000829575583339 0.516985422 0.043671574000000005 Calling exit ...