Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04407/0.04407, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008733/0.0008733, allocations: 90.72 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001055/0.001055, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9995/0.9995, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004139/0.004139, allocations: 0.8223 MB / 276.5 MB, free: 0.7188 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.731/1.731, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset") translateModel(AixLib.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.336e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegratorWithReset): time 0.002493/0.002507, allocations: 1.896 MB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003582, allocations: 0.5724 MB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.00368, allocations: 3.938 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003795, allocations: 27.73 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.003852, allocations: 35.66 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.004017, allocations: 63.92 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.004206, allocations: 175.4 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.00433, allocations: 38.36 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004444, allocations: 83.73 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.004502, allocations: 39.83 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.004523, allocations: 12 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.004535, allocations: 8 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.004559, allocations: 23.91 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.0046, allocations: 47.83 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004723, allocations: 99.58 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004724, allocations: 4 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004725, allocations: 0 / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.004728, allocations: 0 / 0.641 GB, free: 10.92 MB / 0.6043 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.0004015/0.00513, allocations: 368 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.005162, allocations: 15.98 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.005204, allocations: 20.86 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.005377, allocations: 181.4 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005388, allocations: 8.375 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.005409, allocations: 12.38 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.005547, allocations: 127.2 kB / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005554, allocations: 192 / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005567, allocations: 12.36 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.005573, allocations: 3.938 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.005614, allocations: 35.81 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.006081, allocations: 0.567 MB / 0.6423 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.006127, allocations: 26.58 kB / 0.6423 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.006149, allocations: 16.84 kB / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006165, allocations: 0 / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.006273, allocations: 103 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 8.01e-07/0.006274, allocations: 0 / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001507/0.006425, allocations: 93.52 kB / 0.6425 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.006486, allocations: 128.8 kB / 0.6426 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006587, allocations: 198.2 kB / 0.6428 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.006601, allocations: 25.7 kB / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.006657, allocations: 127.8 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006681, allocations: 35.72 kB / 0.643 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.006728, allocations: 49.62 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.006811, allocations: 326.8 kB / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.00683, allocations: 12 kB / 0.6434 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.006898, allocations: 126.4 kB / 0.6435 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.007016, allocations: 162.4 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007019, allocations: 0 / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001351/0.007154, allocations: 137.7 kB / 0.6438 GB, free: 7.723 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007165, allocations: 7.938 kB / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.007169, allocations: 8.031 kB / 0.6438 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007182, allocations: 8 kB / 0.6438 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.007255, allocations: 35.92 kB / 0.6438 GB, free: 7.664 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007262, allocations: 7.938 kB / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.007321, allocations: 23.88 kB / 0.6438 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.00733, allocations: 12 kB / 0.6439 GB, free: 7.621 MB / 0.6043 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,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 6.612e-05/0.007396, allocations: 121.6 kB / 0.644 GB, free: 7.492 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.007414, allocations: 19.98 kB / 0.644 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.007442, allocations: 25.62 kB / 0.644 GB, free: 7.453 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007444, allocations: 4 kB / 0.644 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007447, allocations: 4 kB / 0.644 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007451, allocations: 3.984 kB / 0.644 GB, free: 7.441 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.007731, allocations: 342.2 kB / 0.6444 GB, free: 7.082 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007734, allocations: 4 kB / 0.6444 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.007783, allocations: 15.88 kB / 0.6444 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007786, allocations: 4 kB / 0.6444 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.007796, allocations: 3.984 kB / 0.6444 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.007799, allocations: 4 kB / 0.6444 GB, free: 7.051 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0078, allocations: 0 / 0.6444 GB, free: 7.051 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.007971, allocations: 288.3 kB / 0.6447 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.007986, allocations: 15.84 kB / 0.6447 GB, free: 6.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.008001, allocations: 4 kB / 0.6447 GB, free: 6.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.008078, allocations: 8 kB / 0.6447 GB, free: 6.719 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.008114, allocations: 11.97 kB / 0.6447 GB, free: 6.707 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.008121, allocations: 8 kB / 0.6447 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.008155, allocations: 45.98 kB / 0.6448 GB, free: 6.652 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008155, allocations: 0 / 0.6448 GB, free: 6.652 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000185/0.00834, allocations: 28 kB / 0.6448 GB, free: 6.625 MB / 0.6043 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 7.83e-05/0.008418, allocations: 92.34 kB / 0.6449 GB, free: 6.523 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.008516, allocations: 68.64 kB / 0.6449 GB, free: 6.453 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.008521, allocations: 4 kB / 0.6449 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.008563, allocations: 37.77 kB / 0.645 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.008856, allocations: 75.94 kB / 0.645 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.009287, allocations: 323.3 kB / 0.6454 GB, free: 5.984 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.009338, allocations: 71.98 kB / 0.6454 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.009389, allocations: 25.94 kB / 0.6454 GB, free: 5.867 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.009477, allocations: 79.36 kB / 0.6455 GB, free: 5.789 MB / 0.6043 GB Notification: Performance of SimCode: time 5.01e-07/0.009478, allocations: 0 / 0.6455 GB, free: 5.789 MB / 0.6043 GB Notification: Performance of Templates: time 0.003601/0.01308, allocations: 2.21 MB / 0.6477 GB, free: 3.586 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.sim & ./AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.507978277280927]