Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04035/0.04035, allocations: 9.125 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001243/0.001243, allocations: 91.03 kB / 35.33 MB, free: 1.07 MB / 24.77 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.001024/0.001024, allocations: 164.8 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9932/0.9932, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.008021/0.008021, allocations: 0.8248 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.631/1.631, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") translateModel(AixLib.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.58e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothBlocks): time 0.003243/0.003268, allocations: 1.823 MB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004581, allocations: 0.7318 MB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.004662, allocations: 0 / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.004707, allocations: 11.86 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.004793, allocations: 23.73 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.005375, allocations: 175.5 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.00558, allocations: 127.6 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.005731, allocations: 46.12 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.005938, allocations: 83.86 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.006026, allocations: 39.88 kB / 0.6409 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.006053, allocations: 12 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006166, allocations: 47.97 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.006202, allocations: 31.89 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.006246, allocations: 39.89 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.006508, allocations: 147.4 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006512, allocations: 0 / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006513, allocations: 0 / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.006518, allocations: 0 / 0.6411 GB, free: 10.76 MB / 0.6043 GB 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.0004706/0.006989, allocations: 336.3 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.007032, allocations: 11.98 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.007603, allocations: 100.8 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.007817, allocations: 150.1 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/0.00791, allocations: 107.4 kB / 0.6418 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.00794, allocations: 12.38 kB / 0.6418 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.008255, allocations: 197.8 kB / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.008264, allocations: 0 / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.008284, allocations: 7.938 kB / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008291, allocations: 0 / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.008372, allocations: 35.98 kB / 0.642 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.008996, allocations: 276 kB / 0.6423 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.009358, allocations: 118.5 kB / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.009404, allocations: 20.86 kB / 0.6424 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.009424, allocations: 4 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.009452, allocations: 38.62 kB / 0.6425 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.009453, allocations: 0 / 0.6425 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0002325/0.009686, allocations: 85.67 kB / 0.6426 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.009719, allocations: 51.41 kB / 0.6426 GB, free: 9.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.009904, allocations: 158.4 kB / 0.6428 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.009927, allocations: 29.7 kB / 0.6428 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.009976, allocations: 100.2 kB / 0.6429 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.01, allocations: 23.8 kB / 0.6429 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.01005, allocations: 21.7 kB / 0.6429 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.01015, allocations: 326.8 kB / 0.6432 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.01019, allocations: 16 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.01025, allocations: 42.48 kB / 0.6433 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/0.01035, allocations: 58.8 kB / 0.6433 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01035, allocations: 0 / 0.6433 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001479/0.0105, allocations: 81.61 kB / 0.6434 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01052, allocations: 8 kB / 0.6434 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01052, allocations: 0 / 0.6434 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01054, allocations: 0 / 0.6434 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01068, allocations: 31.91 kB / 0.6435 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01069, allocations: 8 kB / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.01077, allocations: 11.98 kB / 0.6435 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.01079, allocations: 7.984 kB / 0.6435 GB, free: 8.121 MB / 0.6043 GB 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.759e-05/0.01087, allocations: 117.8 kB / 0.6436 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01091, allocations: 4 kB / 0.6436 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.0111, allocations: 98.3 kB / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0111, allocations: 0 / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0111, allocations: 7.938 kB / 0.6437 GB, free: 7.883 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01111, allocations: 3.938 kB / 0.6437 GB, free: 7.879 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.01128, allocations: 93.86 kB / 0.6438 GB, free: 7.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01128, allocations: 0 / 0.6438 GB, free: 7.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01139, allocations: 27.97 kB / 0.6438 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.0114, allocations: 0 / 0.6438 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01141, allocations: 3.984 kB / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01141, allocations: 0 / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01141, allocations: 0 / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.01158, allocations: 179.5 kB / 0.644 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.0116, allocations: 11.91 kB / 0.644 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01162, allocations: 8 kB / 0.644 GB, free: 7.527 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01177, allocations: 15.97 kB / 0.644 GB, free: 7.512 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.0118, allocations: 4 kB / 0.644 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01182, allocations: 3.984 kB / 0.644 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.01186, allocations: 36.77 kB / 0.6441 GB, free: 7.465 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01186, allocations: 0 / 0.6441 GB, free: 7.465 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002596/0.01212, allocations: 20 kB / 0.6441 GB, free: 7.445 MB / 0.6043 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 (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.0001325/0.01225, allocations: 80.41 kB / 0.6442 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01239, allocations: 56.78 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.0124, allocations: 0 / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.01245, allocations: 28.84 kB / 0.6443 GB, free: 7.27 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01268, allocations: 19.98 kB / 0.6443 GB, free: 7.25 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.01324, allocations: 224.8 kB / 0.6445 GB, free: 7.004 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.146e-05/0.0133, allocations: 71.33 kB / 0.6446 GB, free: 6.914 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.283e-05/0.01338, allocations: 15.98 kB / 0.6446 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.01357, allocations: 79.31 kB / 0.6446 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of SimCode: time 2.204e-06/0.01358, allocations: 0 / 0.6446 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of Templates: time 0.004455/0.01803, allocations: 1.645 MB / 0.6463 GB, free: 5.176 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.340542948804796]