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.001149/0.001149, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.002961, allocations: 440 kB / 10.41 MB, free: 284 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.001058/0.001058, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000977/0.002036, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08875/1.117, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.7602/0.7602, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.256/1.016, allocations: 49.12 MB / 448.6 MB, free: 5.91 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.813e-06/1.813e-06, allocations: 0 / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.599e-05, allocations: 6.359 kB / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003572/0.003598, allocations: 1.877 MB / 451.9 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.005007, allocations: 0.5862 MB / 452.4 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.005149, allocations: 8.5 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.00527, allocations: 27.95 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.005372, allocations: 28.61 kB / 452.5 MB, free: 2.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.005603, allocations: 72.42 kB / 452.6 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.005904, allocations: 173.3 kB / 452.8 MB, free: 1.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.006065, allocations: 31.94 kB / 452.8 MB, free: 1.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.006263, allocations: 97.22 kB / 452.9 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.006352, allocations: 35.83 kB / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.006387, allocations: 12 kB / 452.9 MB, free: 1.688 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.006407, allocations: 10 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.006441, allocations: 19.94 kB / 453 MB, free: 1.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.006488, allocations: 31.88 kB / 453 MB, free: 1.629 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.006675, allocations: 95.55 kB / 453.1 MB, free: 1.535 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.006689, allocations: 0 / 453.1 MB, free: 1.535 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.006691, allocations: 0 / 453.1 MB, free: 1.535 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.006703, allocations: 0.625 kB / 453.1 MB, free: 1.535 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.0008144/0.007517, allocations: 400.4 kB / 453.5 MB, free: 1.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.007563, allocations: 8.031 kB / 453.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.007622, allocations: 32.84 kB / 453.5 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.007848, allocations: 170.5 kB / 453.7 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.007861, allocations: 8.375 kB / 453.7 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.007894, allocations: 16.36 kB / 453.7 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.00809, allocations: 135.7 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.0081, allocations: 1.906 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.008112, allocations: 8.375 kB / 453.8 MB, free: 0.707 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.008121, allocations: 7.938 kB / 453.9 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.008176, allocations: 29.27 kB / 453.9 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.008795, allocations: 0.5639 MB / 454.4 MB, free: 80 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.008869, allocations: 27.12 kB / 454.5 MB, free: 44 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.008893, allocations: 22.02 kB / 454.5 MB, free: 20 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.008911, allocations: 0.8438 kB / 454.5 MB, free: 20 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.009078, allocations: 99.92 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.009079, allocations: 0 / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001957/0.009275, allocations: 90.53 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.009345, allocations: 136.5 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.009478, allocations: 189.9 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.009496, allocations: 26.95 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.009569, allocations: 127.8 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.009598, allocations: 31.78 kB / 455.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.009656, allocations: 41.64 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.009751, allocations: 331.4 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.009781, allocations: 17.14 kB / 455.6 MB, free: 14.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.00987, allocations: 119.5 kB / 455.7 MB, free: 14.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01003, allocations: 168.9 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01003, allocations: 0 / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001939/0.01023, allocations: 140.1 kB / 456 MB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01025, allocations: 12.47 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01026, allocations: 5.094 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01027, allocations: 4 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.01038, allocations: 39.92 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01039, allocations: 4.625 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-05/0.01049, allocations: 20.5 kB / 456.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.0105, allocations: 12 kB / 456.1 MB, free: 14.25 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 9.245e-05/0.01059, allocations: 128 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.01062, allocations: 16.61 kB / 456.2 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.01066, allocations: 22.02 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01067, allocations: 4 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01067, allocations: 0.625 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01068, allocations: 4 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.01137, allocations: 338.8 kB / 456.6 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01137, allocations: 0.8125 kB / 456.6 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.01146, allocations: 23.92 kB / 456.6 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.01148, allocations: 21.62 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01149, allocations: 0 / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.0115, allocations: 3.984 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.0115, allocations: 4 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01151, allocations: 0.6875 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01174, allocations: 289.2 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01176, allocations: 1.406 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01189, allocations: 12 kB / 456.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.01193, allocations: 11.97 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.01194, allocations: 13.78 kB / 457 MB, free: 13.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.01199, allocations: 46.75 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 0 / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.01231, allocations: 28 kB / 457 MB, free: 13.25 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 0.0001379/0.01245, allocations: 90.33 kB / 457.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.0126, allocations: 82.98 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01261, allocations: 3.938 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.097e-05/0.01267, allocations: 29.34 kB / 457.2 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.01324, allocations: 414.1 kB / 457.6 MB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.01402, allocations: 340.7 kB / 458 MB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.13e-05/0.01408, allocations: 71.98 kB / 458 MB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.944e-05/0.01416, allocations: 25.72 kB / 458.1 MB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.01428, allocations: 87.34 kB / 458.1 MB, free: 12.01 MB / 442.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01428, allocations: 0.5625 kB / 458.1 MB, free: 12.01 MB / 442.7 MB Notification: Performance of Templates: time 0.005168/0.01945, allocations: 2.193 MB / 460.3 MB, free: 10 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.5290935495868325]