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.001303/0.001303, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001437/0.001437, allocations: 158.4 kB / 22.45 MB, free: 5.375 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.449/1.449, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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-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 1.239/1.239, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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 2.164e-06/2.164e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.447e-05, allocations: 5.203 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002067/0.002102, allocations: 0.6071 MB / 0.6192 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.002533, allocations: 143.5 kB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.002562, allocations: 0 / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.002579, allocations: 0 / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.157e-05/0.0026, allocations: 7.875 kB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.002953, allocations: 50.61 kB / 0.6194 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.003015, allocations: 11.98 kB / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.003064, allocations: 4 kB / 0.6194 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.003101, allocations: 11.98 kB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.003176, allocations: 7.984 kB / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003193, allocations: 0 / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.003285, allocations: 31.95 kB / 0.6194 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.003305, allocations: 7.938 kB / 0.6194 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.003329, allocations: 11.98 kB / 0.6195 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003448, allocations: 31.94 kB / 0.6195 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003451, allocations: 4 kB / 0.6195 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003451, allocations: 0 / 0.6195 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.003456, allocations: 4 kB / 0.6195 GB, free: 3.648 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.0004701/0.003926, allocations: 254.3 kB / 0.6197 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.003968, allocations: 13.47 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.004, allocations: 0.9375 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004124, allocations: 113.7 kB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.004141, allocations: 4.312 kB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.004169, allocations: 4.375 kB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.004311, allocations: 67.95 kB / 0.6199 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00432, allocations: 4.188 kB / 0.6199 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.004333, allocations: 4.375 kB / 0.6199 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004338, allocations: 384 / 0.6199 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/0.004391, allocations: 23.91 kB / 0.62 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.004582, allocations: 101.3 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.004689, allocations: 42.56 kB / 0.6201 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.004729, allocations: 24.97 kB / 0.6201 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.004809, allocations: 4 kB / 0.6201 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.004845, allocations: 30.56 kB / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.004846, allocations: 3.938 kB / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001424/0.006271, allocations: 415.2 kB / 0.6206 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.006324, allocations: 59.34 kB / 0.6206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.006409, allocations: 97.78 kB / 0.6207 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.006432, allocations: 25.7 kB / 0.6207 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.006483, allocations: 84.14 kB / 0.6208 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.006524, allocations: 19.84 kB / 0.6208 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.006578, allocations: 25.7 kB / 0.6208 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.006732, allocations: 314.8 kB / 0.6211 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.006767, allocations: 15.94 kB / 0.6212 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.006795, allocations: 11.98 kB / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.00687, allocations: 36.98 kB / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.006871, allocations: 0 / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/0.007006, allocations: 73.64 kB / 0.6213 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.007026, allocations: 7.984 kB / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007032, allocations: 0 / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007047, allocations: 0 / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.007131, allocations: 15.94 kB / 0.6213 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.007139, allocations: 4.25 kB / 0.6213 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.007163, allocations: 0 / 0.6213 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.007169, allocations: 4 kB / 0.6213 GB, free: 1.551 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 0.0001004/0.007269, allocations: 118.8 kB / 0.6214 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.007286, allocations: 3.984 kB / 0.6214 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.007487, allocations: 93.55 kB / 0.6215 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007489, allocations: 0 / 0.6215 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.007496, allocations: 3.938 kB / 0.6215 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0075, allocations: 0 / 0.6215 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.00762, allocations: 105.3 kB / 0.6216 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007621, allocations: 0 / 0.6216 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.007708, allocations: 19.92 kB / 0.6216 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00771, allocations: 0 / 0.6216 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.007718, allocations: 4 kB / 0.6216 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00772, allocations: 0 / 0.6216 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007721, allocations: 192 / 0.6216 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.007928, allocations: 124.9 kB / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.007934, allocations: 32 / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007951, allocations: 8 kB / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.007996, allocations: 3.984 kB / 0.6218 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.008026, allocations: 11.92 kB / 0.6218 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.008037, allocations: 7.938 kB / 0.6218 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.008085, allocations: 79.28 kB / 0.6219 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.008085, allocations: 4.156 kB / 0.6219 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002563/0.008341, allocations: 31.92 kB / 0.6219 GB, free: 0.8711 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.0002548/0.008596, allocations: 131.1 kB / 0.622 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.008733, allocations: 35.98 kB / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.008736, allocations: 0 / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.008774, allocations: 19.94 kB / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.008943, allocations: 7.984 kB / 0.6221 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.009342, allocations: 128.8 kB / 0.6222 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.199e-05/0.009414, allocations: 71.28 kB / 0.6223 GB, free: 440 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.009448, allocations: 7.984 kB / 0.6223 GB, free: 432 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.009475, allocations: 12.5 kB / 0.6223 GB, free: 420 kB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.009476, allocations: 0 / 0.6223 GB, free: 420 kB / 0.5294 GB Notification: Performance of Templates: time 0.004215/0.01369, allocations: 0.8702 MB / 0.6232 GB, free: 15.58 MB / 0.545 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 sys.exit(0), Time elapsed: 5.762101050466299] Failed to read output from testmodel.py, exit status != 0: 0.023599829524755478 0.039236935 0.032602321000000004 Calling exit ...