Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.001312/0.001312, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001349/0.001349, allocations: 155.7 kB / 23.01 MB, free: 4.949 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.391/1.391, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.8064/0.8064, allocations: 101.3 MB / 361.1 MB, free: 9.547 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") [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.002141/0.002141, allocations: 66.64 kB / 0.5357 GB, free: 5.207 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.136/0.1382, allocations: 85.89 MB / 0.6195 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.00168/0.1398, allocations: 0.6124 MB / 0.6201 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1417, allocations: 1.381 MB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.1417, allocations: 0 / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.1418, allocations: 3.938 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.1418, allocations: 4 kB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.1424, allocations: 191.5 kB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.1425, allocations: 47.91 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.1425, allocations: 3.984 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1426, allocations: 19.98 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.1426, allocations: 23.91 kB / 0.6218 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1427, allocations: 4 kB / 0.6218 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.143, allocations: 215.7 kB / 0.622 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.1431, allocations: 11.94 kB / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.1431, allocations: 19.86 kB / 0.622 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1434, allocations: 191.5 kB / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1434, allocations: 0 / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1434, allocations: 0 / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1434, allocations: 7.875 kB / 0.6222 GB, free: 14.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004288/0.1438, allocations: 365.2 kB / 0.6226 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1439, allocations: 12.03 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1439, allocations: 4.891 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.144, allocations: 118.5 kB / 0.6227 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.144, allocations: 4.375 kB / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.144, allocations: 4.375 kB / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1442, allocations: 135.6 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1442, allocations: 0 / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1443, allocations: 4 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.1443, allocations: 4 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1444, allocations: 89.66 kB / 0.6229 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1445, allocations: 133.2 kB / 0.623 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1447, allocations: 104.2 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1448, allocations: 90.59 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.1448, allocations: 4 kB / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1448, allocations: 38.56 kB / 0.6233 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1448, allocations: 0 / 0.6233 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000444/0.1452, allocations: 314.5 kB / 0.6236 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1453, allocations: 89.09 kB / 0.6236 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1454, allocations: 140 kB / 0.6238 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1455, allocations: 25.7 kB / 0.6238 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1455, allocations: 96.08 kB / 0.6239 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1455, allocations: 11.89 kB / 0.6239 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1456, allocations: 29.7 kB / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1457, allocations: 314.8 kB / 0.6242 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1459, allocations: 175.4 kB / 0.6244 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1461, allocations: 171.3 kB / 0.6246 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.1464, allocations: 289.8 kB / 0.6248 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1464, allocations: 0 / 0.6248 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004387/0.1469, allocations: 395.4 kB / 0.6252 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.1469, allocations: 75.33 kB / 0.6253 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1469, allocations: 3.938 kB / 0.6253 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1469, allocations: 0 / 0.6253 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1469, allocations: 0 / 0.6253 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1469, allocations: 3.984 kB / 0.6253 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.147, allocations: 16.02 kB / 0.6253 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1471, allocations: 4 kB / 0.6253 GB, free: 11.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001187/0.1472, allocations: 147.5 kB / 0.6255 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1472, allocations: 11.89 kB / 0.6255 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.1472, allocations: 4.344 kB / 0.6255 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1472, allocations: 3.984 kB / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1472, allocations: 0 / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.1472, allocations: 0 / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.718e-05/0.1473, allocations: 117.3 kB / 0.6256 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1473, allocations: 0 / 0.6256 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1473, allocations: 4 kB / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1473, allocations: 0 / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1473, allocations: 7.938 kB / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1473, allocations: 7.922 kB / 0.6256 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1473, allocations: 0 / 0.6256 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1477, allocations: 268.5 kB / 0.6259 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.1477, allocations: 11.89 kB / 0.6259 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1477, allocations: 7.938 kB / 0.6259 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.1477, allocations: 4 kB / 0.6259 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1478, allocations: 15.98 kB / 0.6259 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1478, allocations: 0 / 0.6259 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.876e-05/0.1479, allocations: 113.3 kB / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1479, allocations: 0 / 0.626 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002834/0.1482, allocations: 63.94 kB / 0.6261 GB, free: 10.45 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: 1 (i) * Number of discrete states: 1 (i) * 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.0002352/0.1484, allocations: 147.1 kB / 0.6262 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.1489, allocations: 419.7 kB / 0.6266 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1489, allocations: 0 / 0.6266 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.149, allocations: 160.9 kB / 0.6268 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1492, allocations: 8 kB / 0.6268 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1495, allocations: 243.2 kB / 0.627 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.711e-05/0.1496, allocations: 79.31 kB / 0.6271 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.479e-06/0.1496, allocations: 0 / 0.6271 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.1496, allocations: 12.5 kB / 0.6271 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1496, allocations: 0 / 0.6271 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.005012/0.1546, allocations: 2.125 MB / 0.6292 GB, free: 7.152 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.043266552966088] Failed to read output from testmodel.py, exit status != 0: 0.16193332395050675 0.17660050800000002 0.030192769 Calling exit ...