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.0006827/0.0006827, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008675/0.00155, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00072/0.00072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008858/0.001606, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9942/0.9942, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/1.105, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8219/0.8219, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.278/1.1, allocations: 49.12 MB / 448.4 MB, free: 6.047 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.353e-06/1.353e-06, allocations: 0 / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.757e-06/1.011e-05, allocations: 2.859 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002077/0.002087, allocations: 1.88 MB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.002785, allocations: 0.5786 MB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.002865, allocations: 11.88 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.002935, allocations: 23.81 kB / 452.2 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.002994, allocations: 32.59 kB / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003118, allocations: 68.95 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.003276, allocations: 177.4 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003387, allocations: 39.92 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003503, allocations: 87.78 kB / 452.6 MB, free: 1.891 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.003563, allocations: 47.81 kB / 452.7 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.003587, allocations: 8 kB / 452.7 MB, free: 1.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.003601, allocations: 12.66 kB / 452.7 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.003623, allocations: 19.88 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.003661, allocations: 33.91 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003784, allocations: 91.48 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.003797, allocations: 0 / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003798, allocations: 0 / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.003817, allocations: 0 / 452.8 MB, free: 1.684 MB / 426.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.0005052/0.004322, allocations: 399.2 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004352, allocations: 8.031 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.004388, allocations: 21.52 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.004564, allocations: 171.5 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004576, allocations: 8.375 kB / 453.4 MB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.004597, allocations: 16.38 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.004745, allocations: 135.2 kB / 453.6 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.004753, allocations: 3.453 kB / 453.6 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004762, allocations: 4.375 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.00477, allocations: 7.938 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.004822, allocations: 35.81 kB / 453.6 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.005309, allocations: 0.5689 MB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.005359, allocations: 26.56 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.005377, allocations: 9.734 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.005398, allocations: 5.828 kB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.005508, allocations: 99.55 kB / 454.3 MB, free: 60 kB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.005509, allocations: 0.5 kB / 454.3 MB, free: 60 kB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001543/0.005664, allocations: 90.81 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003579/0.006022, allocations: 132.5 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.006124, allocations: 198 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.006137, allocations: 29.7 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.006192, allocations: 124.5 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.006214, allocations: 31.78 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.006257, allocations: 50.94 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.006337, allocations: 326.8 kB / 455.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.006356, allocations: 11.98 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.006423, allocations: 123 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.006529, allocations: 152.5 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006532, allocations: 0 / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001264/0.006658, allocations: 140.3 kB / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006672, allocations: 11.94 kB / 455.7 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.006678, allocations: 8.594 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.006691, allocations: 4.844 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.006771, allocations: 31.98 kB / 455.8 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.00678, allocations: 11.92 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.006843, allocations: 25.45 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.006851, allocations: 8.656 kB / 455.8 MB, free: 14.41 MB / 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 6.863e-05/0.006919, allocations: 126.6 kB / 455.9 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.006935, allocations: 15.98 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.006964, allocations: 26.58 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.006967, allocations: 256 / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006971, allocations: 4 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.006976, allocations: 4.625 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.007255, allocations: 335.3 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007257, allocations: 4.594 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.007308, allocations: 24.52 kB / 456.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.007323, allocations: 19.83 kB / 456.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.007325, allocations: 0.5312 kB / 456.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.007335, allocations: 8.562 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007336, allocations: 0 / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.007338, allocations: 4.625 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007486, allocations: 277.1 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.007503, allocations: 8 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.00757, allocations: 9.203 kB / 456.6 MB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.007604, allocations: 11.98 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.007609, allocations: 4 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.007647, allocations: 59.44 kB / 456.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007647, allocations: 0 / 456.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.007832, allocations: 28.91 kB / 456.8 MB, free: 13.41 MB / 442.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 6.943e-05/0.007902, allocations: 82.48 kB / 456.8 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.008007, allocations: 72.11 kB / 456.9 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.008014, allocations: 8 kB / 456.9 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.008054, allocations: 38.39 kB / 456.9 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.008335, allocations: 88.39 kB / 457 MB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.008912, allocations: 333.8 kB / 457.4 MB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.008962, allocations: 75.98 kB / 457.4 MB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.00902, allocations: 22.05 kB / 457.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.009109, allocations: 87.3 kB / 457.5 MB, free: 12.57 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.00911, allocations: 0 / 457.5 MB, free: 12.57 MB / 442.7 MB Notification: Performance of Templates: time 0.003986/0.0131, allocations: 2.245 MB / 459.8 MB, free: 10.52 MB / 442.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.680552433244884]