Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0007067/0.0007067, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007217/0.0007217, allocations: 215.9 kB / 23.01 MB, free: 3.098 MB / 13.93 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.8694/0.8694, allocations: 230.6 MB / 256.8 MB, free: 9.816 MB / 202.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.7536/0.7536, allocations: 203.8 MB / 0.5049 GB, free: 10.71 MB / 410.7 MB " [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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.001248/0.001248, allocations: 70.86 kB / 0.7195 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4854, allocations: 102 MB / 0.8191 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001212/0.4866, allocations: 0.6003 MB / 0.8197 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.4875, allocations: 1.174 MB / 0.8209 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.4875, allocations: 0 / 0.8209 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.4875, allocations: 0 / 0.8209 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.4877, allocations: 18.97 kB / 0.8209 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.4877, allocations: 3.938 kB / 0.8209 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.288e-05/0.4878, allocations: 2.078 kB / 0.8209 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.4878, allocations: 2.375 kB / 0.8209 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.727e-05/0.4878, allocations: 4.594 kB / 0.8209 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.921e-05/0.4879, allocations: 3.094 kB / 0.8209 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.4879, allocations: 4 kB / 0.8209 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.488, allocations: 32.78 kB / 0.8209 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.871e-06/0.488, allocations: 0 / 0.8209 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.488, allocations: 2.062 kB / 0.8209 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.334e-05/0.4881, allocations: 16.7 kB / 0.8209 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4881, allocations: 4 kB / 0.821 GB, free: 252 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4881, allocations: 0 / 0.821 GB, free: 252 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.4881, allocations: 3.938 kB / 0.821 GB, free: 248 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001854/0.4883, allocations: 239 kB / 0.8212 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4883, allocations: 15.03 kB / 0.8212 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4885, allocations: 15.02 kB / 0.8212 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.469e-05/0.4885, allocations: 114.9 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.4885, allocations: 4.375 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4886, allocations: 384 / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.4887, allocations: 45.36 kB / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4887, allocations: 0 / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4887, allocations: 0 / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4887, allocations: 0 / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.4887, allocations: 11.34 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.4888, allocations: 123.9 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.489, allocations: 31.34 kB / 0.8215 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.489, allocations: 12.77 kB / 0.8215 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.489, allocations: 4.469 kB / 0.8215 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.489, allocations: 39.06 kB / 0.8216 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.489, allocations: 0 / 0.8216 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001697/0.4907, allocations: 0.536 MB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4907, allocations: 52.84 kB / 0.8222 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.935e-05/0.4908, allocations: 94.56 kB / 0.8222 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4908, allocations: 25.7 kB / 0.8223 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.4908, allocations: 80.14 kB / 0.8223 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4908, allocations: 19.89 kB / 0.8224 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.4909, allocations: 26.14 kB / 0.8224 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.491, allocations: 315.9 kB / 0.8227 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.4912, allocations: 82.2 kB / 0.8228 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.4915, allocations: 105.7 kB / 0.8229 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.492, allocations: 190 kB / 0.8231 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.492, allocations: 4 kB / 0.8231 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005326/0.4925, allocations: 217 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4925, allocations: 4.531 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4925, allocations: 2.203 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4925, allocations: 1.156 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4927, allocations: 50.23 kB / 0.8233 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4927, allocations: 1.156 kB / 0.8233 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4929, allocations: 41.95 kB / 0.8234 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4929, allocations: 3.078 kB / 0.8234 GB, free: 14.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.204e-05/0.4929, allocations: 115.5 kB / 0.8235 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.4929, allocations: 11.06 kB / 0.8235 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.493, allocations: 8.203 kB / 0.8235 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.493, allocations: 5.469 kB / 0.8235 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.493, allocations: 4.641 kB / 0.8235 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.493, allocations: 5.297 kB / 0.8235 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.4937, allocations: 427.9 kB / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4937, allocations: 0 / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.4939, allocations: 53 kB / 0.824 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4939, allocations: 1.188 kB / 0.824 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4939, allocations: 6.188 kB / 0.824 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4939, allocations: 0 / 0.824 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4939, allocations: 5.078 kB / 0.824 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.4945, allocations: 303.3 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-06/0.4945, allocations: 1.062 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4945, allocations: 2.484 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4946, allocations: 40.3 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.4946, allocations: 2.562 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4946, allocations: 2.047 kB / 0.8243 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.4947, allocations: 80.41 kB / 0.8244 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4947, allocations: 0 / 0.8244 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001578/0.4948, allocations: 11.66 kB / 0.8244 GB, free: 14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 8.856e-05/0.4949, allocations: 102.9 kB / 0.8245 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.4954, allocations: 181.1 kB / 0.8247 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4954, allocations: 1.281 kB / 0.8247 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.4957, allocations: 95.06 kB / 0.8248 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.4958, allocations: 1.062 kB / 0.8248 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.4964, allocations: 239.9 kB / 0.825 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4965, allocations: 0.6794 MB / 0.8257 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.4966, allocations: 18.42 kB / 0.8257 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4966, allocations: 0 / 0.8257 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.001996/0.4986, allocations: 1.076 MB / 0.8267 GB, free: 12.95 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.442064026836306] Failed to read output from testmodel.py, exit status != 0: 0.5045440099202096 0.512919545 0.023076463000000002 Calling exit ...