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.001103/0.001103, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.001273/0.001273, allocations: 177.9 kB / 23.22 MB, free: 1.336 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 0.8793/0.8793, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-531:190: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-531:198: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.7112/0.7112, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.412e-06/1.412e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.716e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009727/0.0009899, allocations: 0.6137 MB / 0.6199 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.001265, allocations: 147.5 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.001286, allocations: 0 / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.001299, allocations: 0 / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.812e-05/0.001317, allocations: 3.938 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.001582, allocations: 43.83 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.001627, allocations: 8 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.001662, allocations: 0 / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.001691, allocations: 15.98 kB / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.00175, allocations: 11.97 kB / 0.6202 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.001762, allocations: 0 / 0.6202 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.001823, allocations: 35.91 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.001836, allocations: 3.938 kB / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.001851, allocations: 4 kB / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.001941, allocations: 39.92 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.001943, allocations: 0 / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.001944, allocations: 0 / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.001947, allocations: 0 / 0.6202 GB, free: 12.24 MB / 0.5886 GB 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.0002793/0.002226, allocations: 258.3 kB / 0.6205 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.002258, allocations: 13.47 kB / 0.6205 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.002287, allocations: 4.875 kB / 0.6205 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.002356, allocations: 109.7 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.002368, allocations: 4.375 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.002392, allocations: 4.375 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.002496, allocations: 67.95 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.002502, allocations: 192 / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.00251, allocations: 384 / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.002514, allocations: 384 / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.002553, allocations: 23.86 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.002662, allocations: 109.3 kB / 0.6208 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/0.002733, allocations: 46.56 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.002759, allocations: 24.95 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.002822, allocations: 4 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.002843, allocations: 34.56 kB / 0.6209 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.002843, allocations: 0 / 0.6209 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008121/0.003655, allocations: 415.2 kB / 0.6213 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.003681, allocations: 55.34 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.003723, allocations: 89.86 kB / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.003733, allocations: 37.83 kB / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.003753, allocations: 80.14 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.003777, allocations: 19.86 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.003805, allocations: 21.7 kB / 0.6216 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.003874, allocations: 310.8 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.003895, allocations: 19.97 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.003911, allocations: 12 kB / 0.6219 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.003958, allocations: 32.84 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.003959, allocations: 4 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.178e-05/0.00403, allocations: 73.58 kB / 0.622 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.00404, allocations: 4 kB / 0.622 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004044, allocations: 4 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.004054, allocations: 4 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.004101, allocations: 8 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.004106, allocations: 3.938 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.004118, allocations: 4 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.004125, allocations: 11.92 kB / 0.6221 GB, free: 10.13 MB / 0.5886 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 4.769e-05/0.004173, allocations: 110.8 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.004178, allocations: 0 / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.004292, allocations: 93.5 kB / 0.6223 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004294, allocations: 4 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.004298, allocations: 3.938 kB / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004301, allocations: 0 / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.932e-05/0.00436, allocations: 109.3 kB / 0.6224 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004361, allocations: 0 / 0.6224 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.004405, allocations: 12 kB / 0.6224 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004407, allocations: 3.938 kB / 0.6224 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.004414, allocations: 4.188 kB / 0.6224 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.004415, allocations: 8 kB / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004416, allocations: 0 / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.004533, allocations: 117.3 kB / 0.6225 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.004539, allocations: 12.08 kB / 0.6225 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.004549, allocations: 0 / 0.6225 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.004572, allocations: 4 kB / 0.6225 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.004586, allocations: 4 kB / 0.6225 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.004592, allocations: 11.92 kB / 0.6226 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.788e-05/0.00461, allocations: 75.28 kB / 0.6226 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00461, allocations: 0 / 0.6226 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001406/0.004751, allocations: 31.94 kB / 0.6227 GB, free: 9.469 MB / 0.5886 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.000127/0.004878, allocations: 135.2 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.004957, allocations: 39.98 kB / 0.6228 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.004959, allocations: 4 kB / 0.6228 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.004978, allocations: 19.98 kB / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.005079, allocations: 0 / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.00531, allocations: 166.5 kB / 0.623 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.005342, allocations: 63.3 kB / 0.6231 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.005362, allocations: 16.48 kB / 0.6231 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.005363, allocations: 0 / 0.6231 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of Templates: time 0.001577/0.00694, allocations: 0.9324 MB / 0.624 GB, free: 8.043 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.953647349029779] Failed to read output from testmodel.py, exit status != 0: 0.01165478304028511 0.019015358 0.01555365 Calling exit ...