Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.0008043/0.0008043, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0008534/0.0008534, allocations: 212.6 kB / 23 MB, free: 2.98 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.9579/0.9579, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7808/0.7808, allocations: 203.8 MB / 0.5049 GB, free: 10.47 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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [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.000892/0.000892, allocations: 70.27 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4854, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002168/0.4876, allocations: 1.791 MB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.4884, allocations: 0.5518 MB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.4885, allocations: 14.34 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.4887, allocations: 23.56 kB / 0.8213 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.4887, allocations: 31.89 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.4889, allocations: 58.97 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4891, allocations: 177.1 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.4893, allocations: 40.5 kB / 0.8216 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.4893, allocations: 49.34 kB / 0.8217 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.4894, allocations: 57.66 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.4894, allocations: 9.938 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.4895, allocations: 10.5 kB / 0.8218 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.4895, allocations: 28.8 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.4895, allocations: 52.22 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.4897, allocations: 140.5 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4897, allocations: 0.6094 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4897, allocations: 0 / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4897, allocations: 0 / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005747/0.4903, allocations: 428.8 kB / 0.8224 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4903, allocations: 10.28 kB / 0.8224 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4904, allocations: 19.36 kB / 0.8224 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.4906, allocations: 182.9 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4906, allocations: 5.375 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4907, allocations: 15.8 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.4909, allocations: 154.5 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4909, allocations: 0 / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4909, allocations: 6.188 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4909, allocations: 4.219 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.491, allocations: 73.09 kB / 0.8228 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.4917, allocations: 0.6542 MB / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4918, allocations: 40.69 kB / 0.8235 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.4918, allocations: 32.94 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4918, allocations: 2.969 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.492, allocations: 131.9 kB / 0.8237 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.492, allocations: 1.156 kB / 0.8237 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003276/0.4923, allocations: 163.5 kB / 0.8238 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4924, allocations: 136.8 kB / 0.8239 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4925, allocations: 189.4 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4926, allocations: 35.58 kB / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.4926, allocations: 135.8 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.4927, allocations: 35.66 kB / 0.8243 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.4927, allocations: 39.59 kB / 0.8244 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.4928, allocations: 328.3 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.4929, allocations: 41.61 kB / 0.8247 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.493, allocations: 142.9 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4932, allocations: 207.6 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4932, allocations: 1.875 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002529/0.4934, allocations: 203.2 kB / 0.8252 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4935, allocations: 7.188 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4935, allocations: 3.719 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4935, allocations: 5.703 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.4936, allocations: 38.12 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4936, allocations: 6.188 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.4936, allocations: 23.95 kB / 0.8253 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4937, allocations: 17.03 kB / 0.8253 GB, free: 12.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.731e-05/0.4937, allocations: 142.7 kB / 0.8255 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.4938, allocations: 20.48 kB / 0.8255 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.4938, allocations: 20.84 kB / 0.8255 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4938, allocations: 2.062 kB / 0.8255 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4938, allocations: 1.594 kB / 0.8255 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.4938, allocations: 1.922 kB / 0.8255 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.4943, allocations: 463.2 kB / 0.826 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4943, allocations: 5.156 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.4944, allocations: 15.23 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4944, allocations: 1.125 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4944, allocations: 7.391 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4944, allocations: 1.25 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4944, allocations: 2.078 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4947, allocations: 359.5 kB / 0.8263 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.4947, allocations: 21.94 kB / 0.8264 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4947, allocations: 2 kB / 0.8264 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.4948, allocations: 16.62 kB / 0.8264 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.4949, allocations: 18.3 kB / 0.8264 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4949, allocations: 4.688 kB / 0.8264 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.4949, allocations: 128.8 kB / 0.8265 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4949, allocations: 0 / 0.8265 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002244/0.4952, allocations: 35.66 kB / 0.8266 GB, free: 11.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.187e-05/0.4953, allocations: 103.8 kB / 0.8267 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4955, allocations: 119.7 kB / 0.8268 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4955, allocations: 0 / 0.8268 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.4956, allocations: 50.16 kB / 0.8268 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.496, allocations: 81.23 kB / 0.8269 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.4965, allocations: 376 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.4966, allocations: 112.7 kB / 0.8274 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.4966, allocations: 17.81 kB / 0.8274 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.4966, allocations: 7.938 kB / 0.8274 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.003568/0.5002, allocations: 2.151 MB / 0.8295 GB, free: 10.9 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.890074184164405] Failed to read output from testmodel.py, exit status != 0: 0.5061361379921436 0.5180976589999999 0.02644702 Calling exit ...