Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001327/0.001327, allocations: 84.52 kB / 19.77 MB, free: 1.875 MB / 14.72 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.00143/0.00143, allocations: 161 kB / 23.01 MB, free: 4.59 MB / 14.72 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 101.3 MB / 361.1 MB, free: 8.777 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 72.12 kB / 0.5357 GB, free: 12.65 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 85.89 MB / 0.6195 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001742/0.1464, allocations: 0.5969 MB / 0.6201 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.1468, allocations: 143.5 kB / 0.6203 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.1468, allocations: 0 / 0.6203 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.1468, allocations: 4 kB / 0.6203 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.253e-05/0.1468, allocations: 0 / 0.6203 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.1471, allocations: 43.84 kB / 0.6203 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.1471, allocations: 15.97 kB / 0.6203 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.1472, allocations: 0 / 0.6203 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1472, allocations: 8 kB / 0.6203 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.1473, allocations: 11.92 kB / 0.6203 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1473, allocations: 0 / 0.6203 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.1474, allocations: 35.95 kB / 0.6204 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1474, allocations: 0 / 0.6204 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1474, allocations: 11.92 kB / 0.6204 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.1475, allocations: 27.89 kB / 0.6204 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1475, allocations: 8 kB / 0.6204 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1475, allocations: 4 kB / 0.6204 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1475, allocations: 0 / 0.6204 GB, free: 5.836 MB / 0.5294 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.0003597/0.1479, allocations: 254.3 kB / 0.6207 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1479, allocations: 15.97 kB / 0.6207 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.1479, allocations: 4.875 kB / 0.6207 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.148, allocations: 110.5 kB / 0.6208 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.148, allocations: 384 / 0.6208 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1481, allocations: 4.375 kB / 0.6208 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1482, allocations: 67.89 kB / 0.6209 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1482, allocations: 4.188 kB / 0.6209 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1482, allocations: 11.94 kB / 0.6209 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1482, allocations: 0 / 0.6209 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.1482, allocations: 11.98 kB / 0.6209 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1484, allocations: 105.4 kB / 0.621 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.1485, allocations: 38.56 kB / 0.621 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.1485, allocations: 20.97 kB / 0.621 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.381e-05/0.1486, allocations: 11.94 kB / 0.6211 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1486, allocations: 30.56 kB / 0.6211 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1486, allocations: 4 kB / 0.6211 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001214/0.1498, allocations: 423.1 kB / 0.6215 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1499, allocations: 51.41 kB / 0.6215 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.1499, allocations: 93.84 kB / 0.6216 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1499, allocations: 29.7 kB / 0.6217 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.15, allocations: 80.14 kB / 0.6217 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.15, allocations: 19.8 kB / 0.6218 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.1501, allocations: 25.7 kB / 0.6218 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1502, allocations: 314.8 kB / 0.6221 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.1502, allocations: 15.98 kB / 0.6221 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.1502, allocations: 11.94 kB / 0.6221 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.775e-05/0.1503, allocations: 32.98 kB / 0.6221 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1503, allocations: 4 kB / 0.6221 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001224/0.1504, allocations: 77.62 kB / 0.6222 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1504, allocations: 4 kB / 0.6222 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1505, allocations: 3.938 kB / 0.6222 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1505, allocations: 0 / 0.6222 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.1505, allocations: 12 kB / 0.6222 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1505, allocations: 0 / 0.6222 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1506, allocations: 11.88 kB / 0.6222 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1506, allocations: 3.938 kB / 0.6222 GB, free: 3.734 MB / 0.5294 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 8.594e-05/0.1507, allocations: 122.5 kB / 0.6224 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1507, allocations: 0 / 0.6224 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.1508, allocations: 93.86 kB / 0.6225 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1509, allocations: 3.984 kB / 0.6225 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1509, allocations: 0 / 0.6225 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1509, allocations: 0 / 0.6225 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.151, allocations: 105.5 kB / 0.6226 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.151, allocations: 4 kB / 0.6226 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.151, allocations: 19.92 kB / 0.6226 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.151, allocations: 0 / 0.6226 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1511, allocations: 4 kB / 0.6226 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1511, allocations: 7.938 kB / 0.6226 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1511, allocations: 0 / 0.6226 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1513, allocations: 117 kB / 0.6227 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.1513, allocations: 4.031 kB / 0.6227 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1513, allocations: 0 / 0.6227 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.1513, allocations: 7.922 kB / 0.6227 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.1513, allocations: 8 kB / 0.6227 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1513, allocations: 3.938 kB / 0.6227 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.1514, allocations: 83.27 kB / 0.6228 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1514, allocations: 160 / 0.6228 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002271/0.1516, allocations: 31.94 kB / 0.6228 GB, free: 3.062 MB / 0.5294 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.0001827/0.1518, allocations: 123.2 kB / 0.623 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1519, allocations: 39.97 kB / 0.623 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1519, allocations: 0 / 0.623 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.152, allocations: 19.94 kB / 0.623 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1521, allocations: 10.02 kB / 0.623 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1524, allocations: 133.4 kB / 0.6231 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.1524, allocations: 71.34 kB / 0.6232 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.1525, allocations: 11.73 kB / 0.6232 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1525, allocations: 16.5 kB / 0.6232 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.1525, allocations: 0 / 0.6232 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.003482/0.156, allocations: 0.8546 MB / 0.6241 GB, free: 1.75 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.071785110980272] Failed to read output from testmodel.py, exit status != 0: 0.1643905610544607 0.179009786 0.028425044000000003 Calling exit ...