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.0007589/0.0007589, allocations: 115 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.000749/0.000749, allocations: 203.8 kB / 23 MB, free: 3.125 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.91/0.91, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7508/0.7508, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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.0009102/0.0009102, allocations: 70.22 kB / 0.7195 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4505, allocations: 102 MB / 0.8191 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002344/0.4529, allocations: 1.844 MB / 0.8209 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.4537, allocations: 0.5881 MB / 0.8215 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.4538, allocations: 7.938 kB / 0.8215 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.4539, allocations: 23.73 kB / 0.8215 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.454, allocations: 35.67 kB / 0.8215 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.4544, allocations: 63.86 kB / 0.8216 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.4546, allocations: 175.4 kB / 0.8218 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4547, allocations: 41.58 kB / 0.8218 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.4548, allocations: 47.8 kB / 0.8219 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.4548, allocations: 59.7 kB / 0.8219 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.4548, allocations: 11.94 kB / 0.8219 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.4549, allocations: 15.94 kB / 0.8219 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.4549, allocations: 31.89 kB / 0.822 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.4549, allocations: 63.61 kB / 0.822 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.4551, allocations: 130.2 kB / 0.8221 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4551, allocations: 4 kB / 0.8222 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4551, allocations: 3.938 kB / 0.8222 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4551, allocations: 0 / 0.8222 GB, free: 11.36 MB / 0.6042 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.0005412/0.4556, allocations: 427.2 kB / 0.8226 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4557, allocations: 13.47 kB / 0.8226 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.4557, allocations: 20.84 kB / 0.8226 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4559, allocations: 186.1 kB / 0.8228 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.456, allocations: 8.375 kB / 0.8228 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.456, allocations: 16.33 kB / 0.8228 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.4562, allocations: 149.4 kB / 0.8229 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.4562, allocations: 4 kB / 0.8229 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4562, allocations: 4 kB / 0.8229 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4562, allocations: 4 kB / 0.823 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4563, allocations: 71.88 kB / 0.823 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.457, allocations: 0.7035 MB / 0.8237 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4571, allocations: 58.47 kB / 0.8238 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.4572, allocations: 28.78 kB / 0.8238 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4572, allocations: 8 kB / 0.8238 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4573, allocations: 125.7 kB / 0.8239 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.4573, allocations: 0 / 0.8239 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000301/0.4576, allocations: 165.6 kB / 0.8241 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.4577, allocations: 136.5 kB / 0.8242 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4578, allocations: 202.7 kB / 0.8244 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4578, allocations: 25.7 kB / 0.8244 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.4579, allocations: 139.8 kB / 0.8246 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4579, allocations: 39.83 kB / 0.8246 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.458, allocations: 45.72 kB / 0.8246 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.4581, allocations: 330.8 kB / 0.825 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.4581, allocations: 39.97 kB / 0.825 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4582, allocations: 145.1 kB / 0.8251 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4584, allocations: 202.3 kB / 0.8253 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4584, allocations: 0 / 0.8253 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000223/0.4586, allocations: 213.1 kB / 0.8255 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4586, allocations: 4 kB / 0.8255 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4586, allocations: 4 kB / 0.8255 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4587, allocations: 8.5 kB / 0.8255 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.4587, allocations: 35.92 kB / 0.8256 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4587, allocations: 7.984 kB / 0.8256 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.4588, allocations: 27.88 kB / 0.8256 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4588, allocations: 8 kB / 0.8256 GB, free: 7.461 MB / 0.6042 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.263e-05/0.4589, allocations: 130.7 kB / 0.8257 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.4589, allocations: 27.86 kB / 0.8258 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.459, allocations: 21.39 kB / 0.8258 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.459, allocations: 0 / 0.8258 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.459, allocations: 8 kB / 0.8258 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.459, allocations: 0 / 0.8258 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.4594, allocations: 488.9 kB / 0.8263 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4594, allocations: 4.062 kB / 0.8263 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.4595, allocations: 23.92 kB / 0.8263 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4595, allocations: 4 kB / 0.8263 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4595, allocations: 4 kB / 0.8263 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4595, allocations: 3.984 kB / 0.8263 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4595, allocations: 3.938 kB / 0.8263 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.4598, allocations: 366.6 kB / 0.8267 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.4598, allocations: 24.31 kB / 0.8267 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4598, allocations: 4 kB / 0.8267 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.4599, allocations: 11.98 kB / 0.8267 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.46, allocations: 15.92 kB / 0.8267 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.46, allocations: 15.91 kB / 0.8267 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.4601, allocations: 144.4 kB / 0.8269 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4601, allocations: 4 kB / 0.8269 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002117/0.4603, allocations: 31.95 kB / 0.8269 GB, free: 6.07 MB / 0.6042 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.545e-05/0.4604, allocations: 99.72 kB / 0.827 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4606, allocations: 112.7 kB / 0.8271 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4606, allocations: 0 / 0.8271 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.4607, allocations: 51.91 kB / 0.8271 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.461, allocations: 69.8 kB / 0.8272 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.4615, allocations: 374.4 kB / 0.8276 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4617, allocations: 0.7242 MB / 0.8283 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.4617, allocations: 23.44 kB / 0.8283 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.4617, allocations: 0 / 0.8283 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of Templates: time 0.002926/0.4647, allocations: 2.151 MB / 0.8304 GB, free: 2.418 MB / 0.6042 GB " [Timeout remaining time 660] 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.748425700934604] Failed to read output from testmodel.py, exit status != 0: 0.47037595813162625 0.478802184 0.021994669 Calling exit ...