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.0009356/0.0009356, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001019/0.001019, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9771/0.9771, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.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-535:34: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-535:42: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.75/0.75, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 480.4 MB, free: 6.582 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.033e-05, allocations: 5.406 kB / 480.4 MB, free: 6.578 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002754/0.002774, allocations: 1.835 MB / 482.2 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003723, allocations: 0.574 MB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.003815, allocations: 4.656 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003943, allocations: 27.16 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.004019, allocations: 26.59 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.004209, allocations: 71.84 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004407, allocations: 174 kB / 483.1 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.004517, allocations: 46.36 kB / 483.1 MB, free: 3.875 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.004628, allocations: 75.81 kB / 483.2 MB, free: 3.801 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.004689, allocations: 40.75 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.004716, allocations: 8 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.004732, allocations: 17.16 kB / 483.3 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.004763, allocations: 27.91 kB / 483.3 MB, free: 3.711 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.004806, allocations: 39.84 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.00494, allocations: 96.42 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004942, allocations: 0 / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004943, allocations: 5.688 kB / 483.4 MB, free: 3.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004946, allocations: 0 / 483.4 MB, free: 3.574 MB / 442.7 MB 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.0004395/0.005385, allocations: 375.1 kB / 483.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.005416, allocations: 9.125 kB / 483.8 MB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.005456, allocations: 24.92 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005638, allocations: 171.1 kB / 484 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.005652, allocations: 13.17 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.005678, allocations: 12.38 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.005841, allocations: 136.4 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005849, allocations: 192 / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005858, allocations: 1.531 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.005871, allocations: 7.938 kB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.005922, allocations: 38.98 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.006456, allocations: 0.567 MB / 484.8 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.006511, allocations: 31.25 kB / 484.8 MB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.006532, allocations: 12.8 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.006546, allocations: 4.875 kB / 484.8 MB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.006657, allocations: 98.94 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.006658, allocations: 0.6562 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001652/0.006823, allocations: 87.44 kB / 485 MB, free: 1.875 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.006885, allocations: 136.5 kB / 485.1 MB, free: 1.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006996, allocations: 184.4 kB / 485.3 MB, free: 1.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.007012, allocations: 34.73 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.00707, allocations: 123.1 kB / 485.5 MB, free: 1.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.007097, allocations: 35.72 kB / 485.5 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.007147, allocations: 42.41 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.007236, allocations: 326.8 kB / 485.9 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.00726, allocations: 13.14 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.007338, allocations: 126.5 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.007474, allocations: 164.2 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.007478, allocations: 5.781 kB / 486.2 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001716/0.007649, allocations: 135.6 kB / 486.3 MB, free: 424 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.007665, allocations: 11.92 kB / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.007671, allocations: 6.156 kB / 486.3 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.007687, allocations: 8 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.007775, allocations: 27.92 kB / 486.3 MB, free: 372 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.007782, allocations: 8 kB / 486.4 MB, free: 364 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.007868, allocations: 20.73 kB / 486.4 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.007877, allocations: 8.844 kB / 486.4 MB, free: 336 kB / 442.7 MB 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,intNoReset.trigger_internal,intDef.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 7.877e-05/0.007956, allocations: 130.7 kB / 486.5 MB, free: 196 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.007979, allocations: 11.98 kB / 486.5 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.008013, allocations: 21.41 kB / 486.5 MB, free: 156 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.008017, allocations: 9.844 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008019, allocations: 0 / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008025, allocations: 5.391 kB / 486.6 MB, free: 144 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.008395, allocations: 349.8 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008397, allocations: 0 / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.008461, allocations: 20.67 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.008464, allocations: 0.6875 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.008476, allocations: 4 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008478, allocations: 5.312 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008479, allocations: 0 / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.008667, allocations: 280.4 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.008688, allocations: 16.81 kB / 487.2 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.008707, allocations: 8 kB / 487.2 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.008817, allocations: 9.078 kB / 487.2 MB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.008856, allocations: 11.98 kB / 487.2 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.008865, allocations: 7.984 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.00891, allocations: 48.2 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00891, allocations: 0 / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.009214, allocations: 32.97 kB / 487.3 MB, free: 15.32 MB / 458.7 MB 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 8.958e-05/0.009304, allocations: 81.83 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.009428, allocations: 78.91 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.009433, allocations: 4.938 kB / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.009484, allocations: 36.84 kB / 487.5 MB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.009862, allocations: 72.05 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.0103, allocations: 323.3 kB / 487.9 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01036, allocations: 75.98 kB / 488 MB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.01041, allocations: 17.08 kB / 488 MB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01051, allocations: 88.39 kB / 488.1 MB, free: 14.51 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01051, allocations: 0 / 488.1 MB, free: 14.51 MB / 458.7 MB Notification: Performance of Templates: time 0.004502/0.01501, allocations: 2.199 MB / 490.3 MB, free: 12.49 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.550026162993163]