Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 193.8 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 207.6 MB / 232.8 MB, free: 2.809 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4692/0.4692, allocations: 55.68 MB / 340.7 MB, free: 11.5 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.16 kB / 482.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1543, allocations: 62.88 MB / 0.5322 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001995/0.1563, allocations: 0.5592 MB / 0.5327 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.1566, allocations: 39.81 kB / 0.5327 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1566, allocations: 0 / 0.5327 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.1566, allocations: 0 / 0.5327 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.1567, allocations: 4 kB / 0.5327 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.157, allocations: 19.92 kB / 0.5328 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.612e-05/0.1571, allocations: 0 / 0.5328 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.1571, allocations: 7.984 kB / 0.5328 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.1572, allocations: 0 / 0.5328 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.1572, allocations: 4 kB / 0.5328 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1572, allocations: 4 kB / 0.5328 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1574, allocations: 15.98 kB / 0.5328 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.1574, allocations: 3.984 kB / 0.5328 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1574, allocations: 15.94 kB / 0.5328 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1576, allocations: 19.91 kB / 0.5328 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1576, allocations: 0 / 0.5328 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1576, allocations: 0 / 0.5328 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1576, allocations: 0 / 0.5328 GB, free: 10.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004059/0.158, allocations: 284 kB / 0.5331 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.158, allocations: 8.031 kB / 0.5331 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1581, allocations: 0.9375 kB / 0.5331 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1582, allocations: 110.9 kB / 0.5332 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1582, allocations: 384 / 0.5332 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1582, allocations: 8.312 kB / 0.5332 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1584, allocations: 61.62 kB / 0.5333 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1584, allocations: 0 / 0.5333 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1584, allocations: 3.984 kB / 0.5333 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.1584, allocations: 11.98 kB / 0.5333 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.1585, allocations: 23.98 kB / 0.5333 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1589, allocations: 227.9 kB / 0.5335 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.1589, allocations: 38.45 kB / 0.5336 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.159, allocations: 4.859 kB / 0.5336 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.159, allocations: 3.984 kB / 0.5336 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.159, allocations: 30.56 kB / 0.5336 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.159, allocations: 4.062 kB / 0.5336 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002082/0.1592, allocations: 59.41 kB / 0.5337 GB, free: 9.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1593, allocations: 81.05 kB / 0.5338 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1594, allocations: 129.8 kB / 0.5339 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1594, allocations: 29.7 kB / 0.5339 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.1595, allocations: 99.94 kB / 0.534 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.1595, allocations: 4 kB / 0.534 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.1595, allocations: 29.66 kB / 0.534 GB, free: 8.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1597, allocations: 310.8 kB / 0.5343 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1597, allocations: 15.98 kB / 0.5343 GB, free: 8.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.1597, allocations: 54.88 kB / 0.5344 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1599, allocations: 130.1 kB / 0.5345 GB, free: 8.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1599, allocations: 3.984 kB / 0.5345 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001649/0.16, allocations: 119.2 kB / 0.5346 GB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.1601, allocations: 33.95 kB / 0.5347 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1601, allocations: 4 kB / 0.5347 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1601, allocations: 4 kB / 0.5347 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.1602, allocations: 8 kB / 0.5347 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1602, allocations: 7.938 kB / 0.5347 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1603, allocations: 19.88 kB / 0.5347 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1603, allocations: 8 kB / 0.5347 GB, free: 8.133 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001179/0.1604, allocations: 143.5 kB / 0.5349 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1604, allocations: 0 / 0.5349 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.1604, allocations: 7.469 kB / 0.5349 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1604, allocations: 4 kB / 0.5349 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1605, allocations: 7.922 kB / 0.5349 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1605, allocations: 0 / 0.5349 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1606, allocations: 120.8 kB / 0.535 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1606, allocations: 0 / 0.535 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1606, allocations: 3.984 kB / 0.535 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1606, allocations: 4 kB / 0.535 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1606, allocations: 3.938 kB / 0.535 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1606, allocations: 3.938 kB / 0.535 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1606, allocations: 3.938 kB / 0.535 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1608, allocations: 169.2 kB / 0.5352 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.1608, allocations: 0 / 0.5352 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1608, allocations: 7.938 kB / 0.5352 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.1609, allocations: 0 / 0.5352 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.1609, allocations: 3.938 kB / 0.5352 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1609, allocations: 4 kB / 0.5352 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.161, allocations: 99.7 kB / 0.5353 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.161, allocations: 4.031 kB / 0.5353 GB, free: 7.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1612, allocations: 8 kB / 0.5353 GB, free: 7.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001905/0.1614, allocations: 99.25 kB / 0.5354 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1616, allocations: 87.33 kB / 0.5355 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1616, allocations: 0 / 0.5355 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.1616, allocations: 59.89 kB / 0.5355 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1619, allocations: 8.047 kB / 0.5355 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.1621, allocations: 116.8 kB / 0.5357 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1625, allocations: 0.6806 MB / 0.5363 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1626, allocations: 11.98 kB / 0.5363 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1627, allocations: 11.44 kB / 0.5363 GB, free: 6.312 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1627, allocations: 0 / 0.5363 GB, free: 6.312 MB / 398.1 MB Notification: Performance of Templates: time 0.003332/0.166, allocations: 0.5565 MB / 0.5369 GB, free: 5.762 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.362006195820868] Failed to read output from testmodel.py, exit status != 0: 0.17417082749307156 0.19039859299999995 0.029827624 Calling exit ...