Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0009949/0.0009949, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001279/0.001279, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 1.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7983/0.7983, allocations: 154.9 MB / 415.1 MB, free: 240 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.465e-05, allocations: 4.281 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001726/0.00175, allocations: 0.6097 MB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.002133, allocations: 160.6 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.00216, allocations: 0.9844 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.002177, allocations: 1.688 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.0022, allocations: 0 / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.002551, allocations: 27.91 kB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.002619, allocations: 21.5 kB / 481.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.002667, allocations: 5.625 kB / 481.3 MB, free: 5.695 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.002708, allocations: 8.641 kB / 481.3 MB, free: 5.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.002798, allocations: 5.859 kB / 481.3 MB, free: 5.684 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.002816, allocations: 8.641 kB / 481.3 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.002911, allocations: 27.97 kB / 481.3 MB, free: 5.648 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.002932, allocations: 8.906 kB / 481.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.002951, allocations: 9.281 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003067, allocations: 37.5 kB / 481.4 MB, free: 5.598 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003069, allocations: 0 / 481.4 MB, free: 5.598 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.00307, allocations: 0.875 kB / 481.4 MB, free: 5.598 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003074, allocations: 0 / 481.4 MB, free: 5.598 MB / 442.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.0003402/0.003414, allocations: 232.4 kB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.003461, allocations: 12.8 kB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.003496, allocations: 10.17 kB / 481.6 MB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.003602, allocations: 105.8 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.003615, allocations: 384 / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.003646, allocations: 4.906 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.003755, allocations: 70.86 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.003764, allocations: 1.781 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.003772, allocations: 1.359 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.003781, allocations: 4.375 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.003812, allocations: 11.92 kB / 481.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.003937, allocations: 65.05 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/0.004023, allocations: 34.55 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.004051, allocations: 17.58 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.004369, allocations: 66.66 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.004399, allocations: 35.19 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.004402, allocations: 4.562 kB / 482 MB, free: 4.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.001046/0.005448, allocations: 405.8 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.005484, allocations: 51.41 kB / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.00554, allocations: 94.72 kB / 482.6 MB, free: 4.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.005555, allocations: 34.33 kB / 482.6 MB, free: 4.203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.005581, allocations: 80.14 kB / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.005616, allocations: 28.73 kB / 482.7 MB, free: 4.094 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.005656, allocations: 26.36 kB / 482.7 MB, free: 4.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.005748, allocations: 319.5 kB / 483 MB, free: 3.742 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.005763, allocations: 11.94 kB / 483 MB, free: 3.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.005777, allocations: 9.078 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.005823, allocations: 25.28 kB / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.005824, allocations: 0 / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.921e-05/0.005903, allocations: 51.27 kB / 483.1 MB, free: 3.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.005916, allocations: 8 kB / 483.1 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.00592, allocations: 0.9688 kB / 483.1 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.005935, allocations: 4 kB / 483.1 MB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.006001, allocations: 23.92 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.006004, allocations: 0.7188 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.006021, allocations: 5.094 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006025, allocations: 0 / 483.2 MB, free: 3.602 MB / 442.7 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 (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 5.835e-05/0.006084, allocations: 110.5 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.006099, allocations: 13.92 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.006209, allocations: 61.94 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.006212, allocations: 4 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006214, allocations: 0 / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006217, allocations: 0.6875 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.223e-05/0.006299, allocations: 82.31 kB / 483.4 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.0063, allocations: 1.312 kB / 483.4 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.006359, allocations: 15.98 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006362, allocations: 0 / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006369, allocations: 0 / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00637, allocations: 1.688 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006371, allocations: 0 / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006497, allocations: 93.78 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.006507, allocations: 11.92 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006517, allocations: 0.5 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.006538, allocations: 0 / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.006553, allocations: 9.594 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.006559, allocations: 4 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.006571, allocations: 9.797 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006571, allocations: 0 / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.006785, allocations: 29.16 kB / 483.6 MB, free: 3.117 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001642/0.006949, allocations: 113.5 kB / 483.7 MB, free: 3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.007027, allocations: 33.36 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.007033, allocations: 5 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.007057, allocations: 20.8 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.444e-05/0.007131, allocations: 8.438 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.007392, allocations: 131.8 kB / 483.9 MB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007425, allocations: 55.36 kB / 484 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.007461, allocations: 9.078 kB / 484 MB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.007515, allocations: 58.33 kB / 484 MB, free: 2.641 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007516, allocations: 0 / 484 MB, free: 2.641 MB / 442.7 MB Notification: Performance of Templates: time 0.00329/0.01081, allocations: 1.009 MB / 485 MB, free: 1.715 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6747537930496037]