Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001274/0.001274, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001384/0.001384, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.7966/0.7966, 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [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.002119/0.002119, allocations: 67.94 kB / 0.5357 GB, free: 5.195 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.1376/0.1398, allocations: 85.87 MB / 0.6195 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001729/0.1415, allocations: 0.5866 MB / 0.6201 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002129/0.1417, allocations: 43.88 kB / 0.6201 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.1417, allocations: 0 / 0.6201 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1418, allocations: 4 kB / 0.6201 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.704e-05/0.1418, allocations: 0 / 0.6201 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.142, allocations: 15.92 kB / 0.6202 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.142, allocations: 7.984 kB / 0.6202 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.881e-05/0.142, allocations: 416 / 0.6202 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1421, allocations: 4 kB / 0.6202 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.1421, allocations: 7.938 kB / 0.6202 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1421, allocations: 0 / 0.6202 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.1422, allocations: 19.97 kB / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.1422, allocations: 4 kB / 0.6202 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.1422, allocations: 7.938 kB / 0.6202 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.1423, allocations: 27.91 kB / 0.6202 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1423, allocations: 0 / 0.6202 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1423, allocations: 0 / 0.6202 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1423, allocations: 0 / 0.6202 GB, free: 0.8125 MB / 0.5137 GB 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.0003228/0.1427, allocations: 276.1 kB / 0.6205 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1427, allocations: 12.03 kB / 0.6205 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1427, allocations: 4.875 kB / 0.6205 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/0.1428, allocations: 118.4 kB / 0.6206 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1428, allocations: 4.375 kB / 0.6206 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1428, allocations: 384 / 0.6206 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.143, allocations: 83.95 kB / 0.6207 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.143, allocations: 4.172 kB / 0.6207 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.143, allocations: 3.938 kB / 0.6207 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.143, allocations: 8 kB / 0.6207 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.1431, allocations: 57.69 kB / 0.6208 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.1434, allocations: 212.5 kB / 0.621 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.1435, allocations: 52.16 kB / 0.621 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.1435, allocations: 30.56 kB / 0.6211 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1435, allocations: 4.062 kB / 0.6211 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1435, allocations: 34.56 kB / 0.6211 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1435, allocations: 4 kB / 0.6211 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.1437, allocations: 118.8 kB / 0.6212 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1438, allocations: 81.05 kB / 0.6213 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1439, allocations: 117.8 kB / 0.6214 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1439, allocations: 25.7 kB / 0.6214 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.144, allocations: 108 kB / 0.6215 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.144, allocations: 11.95 kB / 0.6215 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.144, allocations: 21.72 kB / 0.6216 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1442, allocations: 318.8 kB / 0.6219 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1442, allocations: 37.7 kB / 0.6219 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.1443, allocations: 88.69 kB / 0.622 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1444, allocations: 130.1 kB / 0.6221 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1444, allocations: 0 / 0.6221 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001865/0.1446, allocations: 144.9 kB / 0.6223 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.1447, allocations: 37.69 kB / 0.6223 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1447, allocations: 0 / 0.6223 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1447, allocations: 4 kB / 0.6223 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.1447, allocations: 12 kB / 0.6223 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1447, allocations: 0 / 0.6223 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.1448, allocations: 11.89 kB / 0.6223 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1448, allocations: 12.25 kB / 0.6223 GB, free: 14.35 MB / 0.5294 GB 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.0001087/0.1449, allocations: 152.5 kB / 0.6225 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.145, allocations: 7.938 kB / 0.6225 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.145, allocations: 3.469 kB / 0.6225 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.145, allocations: 0 / 0.6225 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.145, allocations: 0 / 0.6225 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.145, allocations: 0 / 0.6225 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1451, allocations: 109.2 kB / 0.6226 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1451, allocations: 4 kB / 0.6226 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1451, allocations: 0 / 0.6226 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1451, allocations: 0 / 0.6226 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1451, allocations: 4 kB / 0.6226 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1451, allocations: 0 / 0.6226 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1451, allocations: 0 / 0.6226 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1453, allocations: 198.8 kB / 0.6228 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-06/0.1453, allocations: 0 / 0.6228 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.1453, allocations: 3.938 kB / 0.6228 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.1454, allocations: 7.984 kB / 0.6228 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.1454, allocations: 3.938 kB / 0.6228 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1454, allocations: 8 kB / 0.6228 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.1454, allocations: 87.27 kB / 0.6229 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1454, allocations: 0 / 0.6229 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002546/0.1457, allocations: 16.03 kB / 0.6229 GB, free: 13.68 MB / 0.5294 GB 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.0001322/0.1458, allocations: 103.2 kB / 0.623 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.146, allocations: 134.7 kB / 0.6231 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.146, allocations: 0 / 0.6231 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.1461, allocations: 85.09 kB / 0.6232 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1463, allocations: 6.844 kB / 0.6232 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.1465, allocations: 134.5 kB / 0.6233 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.1466, allocations: 71.28 kB / 0.6234 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.1466, allocations: 15.73 kB / 0.6234 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.1467, allocations: 8.5 kB / 0.6234 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1467, allocations: 0 / 0.6234 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of Templates: time 0.002844/0.1495, allocations: 0.5445 MB / 0.624 GB, free: 12.5 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.007937770918943] Failed to read output from testmodel.py, exit status != 0: 0.15695581410545856 0.172505279 0.027036841000000002 Calling exit ...