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.002535/0.002535, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002716/0.002716, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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.533e-06/1.533e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.6e-05, allocations: 11.02 kB / 0.5199 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001607/0.001633, allocations: 0.6098 MB / 0.5205 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.002046, allocations: 147.3 kB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.002072, allocations: 1.219 kB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.002086, allocations: 3.938 kB / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.449e-05/0.00211, allocations: 0 / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.0024, allocations: 40.45 kB / 0.5207 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.002455, allocations: 15.98 kB / 0.5207 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.002493, allocations: 5.484 kB / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.002534, allocations: 8.156 kB / 0.5207 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.002601, allocations: 11.98 kB / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.002615, allocations: 0 / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.002711, allocations: 32.8 kB / 0.5208 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.002724, allocations: 0 / 0.5208 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.002746, allocations: 9.062 kB / 0.5208 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.002859, allocations: 35.88 kB / 0.5208 GB, free: 1.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.002863, allocations: 3.984 kB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002864, allocations: 1.062 kB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.002868, allocations: 0 / 0.5208 GB, free: 1.312 MB / 490.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.0004535/0.003321, allocations: 369.1 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003355, allocations: 8.031 kB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.003396, allocations: 4.938 kB / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.003506, allocations: 105.2 kB / 0.5213 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003517, allocations: 1.094 kB / 0.5213 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.003542, allocations: 8.375 kB / 0.5213 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.003673, allocations: 68.7 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.003681, allocations: 192 / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.003689, allocations: 1.25 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.003693, allocations: 384 / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.003744, allocations: 18.8 kB / 0.5214 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.003914, allocations: 124.5 kB / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.004024, allocations: 55.09 kB / 0.5215 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.004062, allocations: 19.81 kB / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/0.004125, allocations: 4 kB / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.004163, allocations: 33.39 kB / 0.5216 GB, free: 388 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.004164, allocations: 0 / 0.5216 GB, free: 388 kB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001479/0.005643, allocations: 435.1 kB / 0.522 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.005687, allocations: 55.34 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.005798, allocations: 158.9 kB / 0.5222 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.005817, allocations: 27.7 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.005886, allocations: 126.9 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.005922, allocations: 27.78 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.00597, allocations: 23.38 kB / 0.5224 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.006222, allocations: 0.4884 MB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.006253, allocations: 11.98 kB / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.00628, allocations: 12.91 kB / 0.5229 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.006351, allocations: 35.67 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006352, allocations: 4.75 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/0.006486, allocations: 77.64 kB / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006498, allocations: 5.062 kB / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006502, allocations: 0 / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006515, allocations: 0 / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.006594, allocations: 17.42 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.006601, allocations: 7.875 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.006622, allocations: 0 / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.006632, allocations: 4 kB / 0.5231 GB, free: 14.76 MB / 0.4948 GB 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 0.0001122/0.006744, allocations: 161.7 kB / 0.5232 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.00676, allocations: 4 kB / 0.5232 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.006932, allocations: 92.67 kB / 0.5233 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006933, allocations: 0 / 0.5233 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.00694, allocations: 7.938 kB / 0.5233 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.006945, allocations: 3.984 kB / 0.5233 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.007069, allocations: 116.6 kB / 0.5234 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.007073, allocations: 4 kB / 0.5234 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.007146, allocations: 8 kB / 0.5234 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007148, allocations: 2.438 kB / 0.5234 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.007158, allocations: 8.172 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.007161, allocations: 4 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.007168, allocations: 3.938 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.007374, allocations: 132.3 kB / 0.5236 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.007384, allocations: 8 kB / 0.5236 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007396, allocations: 0.6562 kB / 0.5236 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.007433, allocations: 0 / 0.5236 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.007458, allocations: 8.984 kB / 0.5236 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.007468, allocations: 7.938 kB / 0.5236 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.007534, allocations: 123.8 kB / 0.5237 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007534, allocations: 0 / 0.5237 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002062/0.00774, allocations: 31.38 kB / 0.5238 GB, free: 13.99 MB / 0.4948 GB 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.0002098/0.00795, allocations: 135.1 kB / 0.5239 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008073, allocations: 43.66 kB / 0.5239 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008075, allocations: 0 / 0.5239 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.008125, allocations: 35.61 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.00826, allocations: 8.562 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.008582, allocations: 145 kB / 0.5241 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.321e-05/0.008645, allocations: 67.28 kB / 0.5242 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.008675, allocations: 4 kB / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.008705, allocations: 20.42 kB / 0.5242 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.008706, allocations: 0.5312 kB / 0.5242 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003651/0.01236, allocations: 0.8867 MB / 0.5251 GB, free: 12.64 MB / 0.4948 GB " [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: 6.0473284889012575]