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.001445/0.001445, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001712/0.001712, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.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.247/1.247, allocations: 203.8 MB / 0.5041 GB, free: 4.66 MB / 414.1 MB " [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.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.002099/0.002099, allocations: 71.88 kB / 0.7187 GB, free: 1.988 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5801, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002778/0.5829, allocations: 1.794 MB / 0.82 GB, free: 27.73 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.5838, allocations: 0.5495 MB / 0.8205 GB, free: 27.36 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.5839, allocations: 6.875 kB / 0.8206 GB, free: 27.36 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.5841, allocations: 25.2 kB / 0.8206 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.5841, allocations: 26.89 kB / 0.8206 GB, free: 27.32 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.5843, allocations: 68.95 kB / 0.8207 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.5846, allocations: 172.5 kB / 0.8208 GB, free: 27.2 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.5847, allocations: 35.09 kB / 0.8209 GB, free: 27.18 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.5848, allocations: 56.61 kB / 0.8209 GB, free: 27.16 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.5849, allocations: 53.77 kB / 0.821 GB, free: 27.13 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.5849, allocations: 10.12 kB / 0.821 GB, free: 27.13 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.5849, allocations: 13.78 kB / 0.821 GB, free: 27.12 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.585, allocations: 30.58 kB / 0.821 GB, free: 27.11 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.5851, allocations: 51.98 kB / 0.8211 GB, free: 27.07 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.5853, allocations: 132.6 kB / 0.8212 GB, free: 27.02 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5853, allocations: 1 kB / 0.8212 GB, free: 27.02 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5853, allocations: 1.312 kB / 0.8212 GB, free: 27.02 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5853, allocations: 0 / 0.8212 GB, free: 27.02 MB / 0.6388 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.0007469/0.5861, allocations: 433.9 kB / 0.8216 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.5861, allocations: 12.02 kB / 0.8216 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.5862, allocations: 20.38 kB / 0.8217 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5865, allocations: 178.6 kB / 0.8218 GB, free: 26.48 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.5865, allocations: 9.406 kB / 0.8218 GB, free: 26.48 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.5866, allocations: 17.53 kB / 0.8218 GB, free: 26.47 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.587, allocations: 149.2 kB / 0.822 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.587, allocations: 0.5312 kB / 0.822 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.587, allocations: 7.438 kB / 0.822 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.587, allocations: 2.656 kB / 0.822 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.5873, allocations: 69.25 kB / 0.8221 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.5882, allocations: 0.6509 MB / 0.8227 GB, free: 25.76 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.5883, allocations: 49.27 kB / 0.8227 GB, free: 25.73 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5884, allocations: 33.95 kB / 0.8228 GB, free: 25.71 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5885, allocations: 5.875 kB / 0.8228 GB, free: 25.71 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.5887, allocations: 134.1 kB / 0.8229 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.5887, allocations: 1.25 kB / 0.8229 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of matching and sorting (n=11): time 0.0005238/0.5892, allocations: 167.6 kB / 0.8231 GB, free: 25.54 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.5893, allocations: 135.6 kB / 0.8232 GB, free: 25.38 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.5895, allocations: 190.7 kB / 0.8234 GB, free: 25.24 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.5895, allocations: 27.75 kB / 0.8234 GB, free: 25.21 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.5896, allocations: 130 kB / 0.8235 GB, free: 25.09 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5897, allocations: 44.61 kB / 0.8236 GB, free: 25.06 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.5897, allocations: 42.58 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.5898, allocations: 328.5 kB / 0.8239 GB, free: 24.71 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5899, allocations: 38.41 kB / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5901, allocations: 142.9 kB / 0.8241 GB, free: 24.55 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.5904, allocations: 204.6 kB / 0.8243 GB, free: 24.38 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5904, allocations: 1.094 kB / 0.8243 GB, free: 24.38 MB / 0.6388 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003825/0.5908, allocations: 208.5 kB / 0.8245 GB, free: 24.28 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5908, allocations: 6.688 kB / 0.8245 GB, free: 24.28 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5908, allocations: 7.938 kB / 0.8245 GB, free: 24.27 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5908, allocations: 4.656 kB / 0.8245 GB, free: 24.27 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.591, allocations: 33.8 kB / 0.8246 GB, free: 24.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.591, allocations: 11.19 kB / 0.8246 GB, free: 24.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5911, allocations: 26.77 kB / 0.8246 GB, free: 24.25 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.5911, allocations: 9.312 kB / 0.8246 GB, free: 24.25 MB / 0.6388 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 9.426e-05/0.5912, allocations: 149.1 kB / 0.8247 GB, free: 24.11 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.5912, allocations: 17.27 kB / 0.8248 GB, free: 24.11 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.5913, allocations: 20.5 kB / 0.8248 GB, free: 24.08 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5913, allocations: 2.25 kB / 0.8248 GB, free: 24.08 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5913, allocations: 1.625 kB / 0.8248 GB, free: 24.08 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5913, allocations: 6.094 kB / 0.8248 GB, free: 24.08 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.592, allocations: 450 kB / 0.8252 GB, free: 23.73 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.592, allocations: 5.969 kB / 0.8252 GB, free: 23.72 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.5921, allocations: 19.81 kB / 0.8252 GB, free: 23.72 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5921, allocations: 1.094 kB / 0.8252 GB, free: 23.72 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5921, allocations: 3.422 kB / 0.8252 GB, free: 23.72 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5921, allocations: 5.594 kB / 0.8252 GB, free: 23.71 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5921, allocations: 2.062 kB / 0.8252 GB, free: 23.71 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.5926, allocations: 351 kB / 0.8256 GB, free: 23.45 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.5926, allocations: 25.64 kB / 0.8256 GB, free: 23.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5926, allocations: 7.062 kB / 0.8256 GB, free: 23.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.5928, allocations: 16.5 kB / 0.8256 GB, free: 23.43 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.5928, allocations: 17.91 kB / 0.8256 GB, free: 23.42 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.5929, allocations: 5.047 kB / 0.8257 GB, free: 23.42 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.593, allocations: 131.6 kB / 0.8258 GB, free: 23.33 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.593, allocations: 5.406 kB / 0.8258 GB, free: 23.32 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0003271/0.5933, allocations: 34.8 kB / 0.8258 GB, free: 23.31 MB / 0.6388 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 0.0001026/0.5934, allocations: 100.9 kB / 0.8259 GB, free: 23.22 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.5937, allocations: 111.1 kB / 0.826 GB, free: 23.19 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5937, allocations: 1.281 kB / 0.826 GB, free: 23.19 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.5939, allocations: 48.38 kB / 0.8261 GB, free: 23.18 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.5944, allocations: 77.52 kB / 0.8261 GB, free: 23.15 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.5949, allocations: 350.3 kB / 0.8265 GB, free: 22.89 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.873e-05/0.595, allocations: 113.2 kB / 0.8266 GB, free: 22.81 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 7.122e-05/0.5951, allocations: 19.75 kB / 0.8266 GB, free: 22.81 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.5951, allocations: 16.66 kB / 0.8266 GB, free: 22.8 MB / 0.6388 GB Notification: Performance of SimCode: time 2.9e-07/0.5951, allocations: 0 / 0.8266 GB, free: 22.8 MB / 0.6388 GB Notification: Performance of Templates: time 0.007389/0.6025, allocations: 2.25 MB / 0.8288 GB, free: 22.53 MB / 0.6388 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: 6.725414976477623] Failed to read output from testmodel.py, exit status != 0: 0.612251864746213 0.624756701 0.036773995000000004 Calling exit ...