Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001253/0.001253, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001304/0.001304, allocations: 161.8 kB / 23.01 MB, free: 4.945 MB / 14.72 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 101.3 MB / 361.1 MB, free: 9.52 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002128/0.002128, allocations: 63.25 kB / 0.5356 GB, free: 5.16 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1404/0.1425, allocations: 85.88 MB / 0.6195 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003222/0.1457, allocations: 1.787 MB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1469, allocations: 0.5494 MB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.147, allocations: 7.938 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1471, allocations: 19.73 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.1472, allocations: 31.73 kB / 0.6218 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1474, allocations: 67.86 kB / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1477, allocations: 171.5 kB / 0.6221 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1478, allocations: 37.73 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1479, allocations: 59.7 kB / 0.6222 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.148, allocations: 55.64 kB / 0.6222 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.148, allocations: 8 kB / 0.6222 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.1481, allocations: 12 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.1481, allocations: 27.92 kB / 0.6223 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.1482, allocations: 55.61 kB / 0.6223 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1484, allocations: 135.3 kB / 0.6224 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1484, allocations: 3.984 kB / 0.6224 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1484, allocations: 0 / 0.6224 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1484, allocations: 0 / 0.6224 GB, free: 14.51 MB / 0.5294 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.0007664/0.1491, allocations: 435.1 kB / 0.6229 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1492, allocations: 8.031 kB / 0.6229 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.1492, allocations: 20.84 kB / 0.6229 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1495, allocations: 174.2 kB / 0.6231 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1496, allocations: 12.38 kB / 0.6231 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1496, allocations: 16.33 kB / 0.6231 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.1499, allocations: 154.2 kB / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1499, allocations: 7.938 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1499, allocations: 4 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1499, allocations: 4 kB / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1502, allocations: 71.89 kB / 0.6233 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.1511, allocations: 0.6493 MB / 0.6239 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1512, allocations: 46.55 kB / 0.624 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1514, allocations: 29 kB / 0.624 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1514, allocations: 15.92 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.1516, allocations: 126.1 kB / 0.6242 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1516, allocations: 0 / 0.6242 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005056/0.1521, allocations: 165.3 kB / 0.6243 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.1522, allocations: 132.5 kB / 0.6244 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1524, allocations: 191.6 kB / 0.6246 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1524, allocations: 33.7 kB / 0.6247 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.1525, allocations: 135.9 kB / 0.6248 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1526, allocations: 35.69 kB / 0.6248 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.1526, allocations: 41.7 kB / 0.6249 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1528, allocations: 326.8 kB / 0.6252 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1529, allocations: 35.97 kB / 0.6252 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1531, allocations: 150.5 kB / 0.6253 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1535, allocations: 202.3 kB / 0.6255 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1535, allocations: 7.938 kB / 0.6255 GB, free: 11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004377/0.1539, allocations: 197.4 kB / 0.6257 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1539, allocations: 4 kB / 0.6257 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.154, allocations: 4 kB / 0.6257 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.154, allocations: 8 kB / 0.6257 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1541, allocations: 39.91 kB / 0.6258 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1541, allocations: 11.88 kB / 0.6258 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1543, allocations: 20.22 kB / 0.6258 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1543, allocations: 16 kB / 0.6258 GB, free: 10.7 MB / 0.5294 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 0.0001372/0.1544, allocations: 141.6 kB / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1545, allocations: 19.89 kB / 0.626 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1545, allocations: 17.47 kB / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1545, allocations: 0 / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1545, allocations: 4 kB / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1545, allocations: 0 / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.1553, allocations: 461.2 kB / 0.6264 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1553, allocations: 0 / 0.6264 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1554, allocations: 15.98 kB / 0.6265 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1554, allocations: 320 / 0.6265 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1554, allocations: 8 kB / 0.6265 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1554, allocations: 7.938 kB / 0.6265 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.1554, allocations: 7.984 kB / 0.6265 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.156, allocations: 351.5 kB / 0.6268 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.156, allocations: 31.91 kB / 0.6269 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.156, allocations: 3.938 kB / 0.6269 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1562, allocations: 15.98 kB / 0.6269 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1562, allocations: 11.92 kB / 0.6269 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1563, allocations: 11.98 kB / 0.6269 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001097/0.1564, allocations: 124.4 kB / 0.627 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1564, allocations: 0 / 0.627 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003445/0.1567, allocations: 31.95 kB / 0.627 GB, free: 9.391 MB / 0.5294 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 0.0001172/0.1568, allocations: 107.2 kB / 0.6271 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1572, allocations: 111.8 kB / 0.6273 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1572, allocations: 0 / 0.6273 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1573, allocations: 48.91 kB / 0.6273 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1579, allocations: 69.11 kB / 0.6274 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.1585, allocations: 364.3 kB / 0.6277 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.1586, allocations: 108.2 kB / 0.6278 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.1587, allocations: 17.48 kB / 0.6278 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.1587, allocations: 20.5 kB / 0.6279 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1587, allocations: 0 / 0.6279 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.005503/0.1642, allocations: 2.113 MB / 0.6299 GB, free: 6.449 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0332790919346735] Failed to read output from testmodel.py, exit status != 0: 0.171551225008443 0.18674531300000002 0.035331625000000005 Calling exit ...