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.001192/0.001192, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001053/0.001053, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.081/1.081, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7875/0.7875, allocations: 154.9 MB / 415.1 MB, free: 252 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.452e-06/1.452e-06, allocations: 0 / 0.5212 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.497e-05, allocations: 6.031 kB / 0.5212 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.004524/0.004549, allocations: 0.6071 MB / 0.5218 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.004897, allocations: 149.4 kB / 0.5219 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.004924, allocations: 0 / 0.5219 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.004939, allocations: 0 / 0.5219 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.004962, allocations: 5.375 kB / 0.5219 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.005241, allocations: 35.89 kB / 0.522 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.005295, allocations: 13.52 kB / 0.522 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.005332, allocations: 4.562 kB / 0.522 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.00537, allocations: 12.75 kB / 0.522 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.005437, allocations: 9.109 kB / 0.522 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.005453, allocations: 4 kB / 0.522 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.005531, allocations: 23.97 kB / 0.522 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.005545, allocations: 8.719 kB / 0.522 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.244e-05/0.005558, allocations: 3.984 kB / 0.522 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.00566, allocations: 44.48 kB / 0.5221 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005663, allocations: 0 / 0.5221 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005664, allocations: 1.281 kB / 0.5221 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005668, allocations: 0 / 0.5221 GB, free: 0.5859 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.000316/0.005984, allocations: 356.3 kB / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.006024, allocations: 8.938 kB / 0.5224 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.006049, allocations: 8.875 kB / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.006121, allocations: 109.2 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.006131, allocations: 7.781 kB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.006152, allocations: 12.7 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006258, allocations: 63.95 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.006264, allocations: 192 / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.00627, allocations: 384 / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006276, allocations: 4.375 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.006302, allocations: 15.92 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.006414, allocations: 101.2 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.006488, allocations: 55.03 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.006507, allocations: 12.31 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.006568, allocations: 8.688 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.006596, allocations: 41.91 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.006597, allocations: 0.9375 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.004022/0.01062, allocations: 411.5 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.01064, allocations: 51.41 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.01071, allocations: 153.9 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.01072, allocations: 26.27 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.01075, allocations: 131.4 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.01078, allocations: 28.48 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.01082, allocations: 23.38 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01094, allocations: 0.4889 MB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.01095, allocations: 11.98 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.01097, allocations: 9.438 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.01101, allocations: 27.67 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01102, allocations: 0 / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.293e-05/0.01111, allocations: 69.56 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01112, allocations: 11.12 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01113, allocations: 0 / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01114, allocations: 1.781 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.01121, allocations: 15.98 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.01121, allocations: 0 / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.01123, allocations: 3.938 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01123, allocations: 6.75 kB / 0.5243 GB, free: 14.11 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 6.758e-05/0.0113, allocations: 156.6 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.01131, allocations: 11.88 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.01144, allocations: 73.64 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01144, allocations: 0 / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01144, allocations: 0 / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01145, allocations: 3.938 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.251e-05/0.01154, allocations: 111.1 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01154, allocations: 0 / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.0116, allocations: 12 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.0116, allocations: 0 / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.0116, allocations: 0 / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.0116, allocations: 0.9375 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.01161, allocations: 3.984 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01174, allocations: 121.3 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.01175, allocations: 7.984 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.01176, allocations: 0.9375 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.01178, allocations: 4 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.0118, allocations: 13.19 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.0118, allocations: 4 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.01183, allocations: 119.2 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01183, allocations: 0.6562 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002037/0.01204, allocations: 31.03 kB / 0.5249 GB, free: 13.39 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.0001778/0.01222, allocations: 135.1 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.858e-05/0.01229, allocations: 39.59 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0123, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.01232, allocations: 27.61 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.01245, allocations: 8 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.0127, allocations: 141.3 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.01273, allocations: 59.34 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.01276, allocations: 4 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.01281, allocations: 74.2 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.01281, allocations: 0 / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.009129/0.02194, allocations: 1.01 MB / 0.5264 GB, free: 11.91 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: 3.846951444633305]