Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.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.001301/0.001301, 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.001394/0.001394, allocations: 187.3 kB / 22.1 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.419/1.419, 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.4131/0.4131, allocations: 55.68 MB / 340.7 MB, free: 11.52 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") [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.002339/0.002339, allocations: 74.94 kB / 482.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 62.88 MB / 0.5322 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.001896/0.1429, allocations: 0.5862 MB / 0.5327 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1451, allocations: 1.429 MB / 0.5341 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.1451, allocations: 3.938 kB / 0.5341 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.1452, allocations: 7.938 kB / 0.5341 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.1452, allocations: 7.922 kB / 0.5342 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.1459, allocations: 182.8 kB / 0.5343 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.146, allocations: 43.95 kB / 0.5344 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1461, allocations: 8 kB / 0.5344 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.1461, allocations: 15.98 kB / 0.5344 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1462, allocations: 35.84 kB / 0.5344 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1462, allocations: 0 / 0.5344 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.1466, allocations: 219.7 kB / 0.5346 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.1467, allocations: 15.92 kB / 0.5347 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.1467, allocations: 19.88 kB / 0.5347 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.147, allocations: 187.5 kB / 0.5348 GB, free: 8.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.147, allocations: 0 / 0.5348 GB, free: 8.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.147, allocations: 0 / 0.5348 GB, free: 8.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.147, allocations: 4 kB / 0.5349 GB, free: 8.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005132/0.1475, allocations: 373.2 kB / 0.5352 GB, free: 7.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1476, allocations: 11.97 kB / 0.5352 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.1476, allocations: 8.891 kB / 0.5352 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1478, allocations: 124.6 kB / 0.5353 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1478, allocations: 384 / 0.5353 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1478, allocations: 7.938 kB / 0.5354 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.148, allocations: 97.58 kB / 0.5354 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.148, allocations: 0 / 0.5354 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.148, allocations: 7.984 kB / 0.5355 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.148, allocations: 0 / 0.5355 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1481, allocations: 59.95 kB / 0.5355 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1483, allocations: 144.8 kB / 0.5357 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1484, allocations: 82.47 kB / 0.5357 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.1485, allocations: 64.89 kB / 0.5358 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.1486, allocations: 0 / 0.5358 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.1486, allocations: 38.5 kB / 0.5358 GB, free: 7.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1486, allocations: 0 / 0.5358 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004497/0.149, allocations: 251.2 kB / 0.5361 GB, free: 6.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1491, allocations: 85.09 kB / 0.5361 GB, free: 6.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1492, allocations: 141.8 kB / 0.5363 GB, free: 6.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1493, allocations: 25.7 kB / 0.5363 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1493, allocations: 96.08 kB / 0.5364 GB, free: 6.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1494, allocations: 7.953 kB / 0.5364 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1494, allocations: 33.73 kB / 0.5364 GB, free: 6.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1496, allocations: 318.8 kB / 0.5367 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1497, allocations: 99.92 kB / 0.5368 GB, free: 6.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1498, allocations: 103.9 kB / 0.5369 GB, free: 5.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1502, allocations: 293.6 kB / 0.5372 GB, free: 5.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1502, allocations: 3.938 kB / 0.5372 GB, free: 5.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003915/0.1506, allocations: 316.9 kB / 0.5375 GB, free: 5.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.1506, allocations: 72.8 kB / 0.5376 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1506, allocations: 4 kB / 0.5376 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1507, allocations: 4.062 kB / 0.5376 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.1507, allocations: 3.984 kB / 0.5376 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1507, allocations: 0 / 0.5376 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.1509, allocations: 15.89 kB / 0.5376 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1509, allocations: 4 kB / 0.5376 GB, free: 5.203 MB / 398.1 MB 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.0001237/0.151, allocations: 151.4 kB / 0.5378 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.151, allocations: 7.953 kB / 0.5378 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.151, allocations: 12.34 kB / 0.5378 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.151, allocations: 0 / 0.5378 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.151, allocations: 7.984 kB / 0.5378 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.151, allocations: 0 / 0.5378 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.1512, allocations: 148.6 kB / 0.5379 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1512, allocations: 0 / 0.5379 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.1512, allocations: 3.984 kB / 0.5379 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1512, allocations: 0 / 0.5379 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1512, allocations: 4 kB / 0.5379 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1512, allocations: 0 / 0.5379 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1512, allocations: 0 / 0.5379 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1515, allocations: 238.6 kB / 0.5382 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.1515, allocations: 3.953 kB / 0.5382 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1515, allocations: 4 kB / 0.5382 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.1516, allocations: 4 kB / 0.5382 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1516, allocations: 11.98 kB / 0.5382 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1517, allocations: 0 / 0.5382 GB, free: 4.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.1517, allocations: 109 kB / 0.5383 GB, free: 4.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1517, allocations: 0 / 0.5383 GB, free: 4.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.152, allocations: 63.94 kB / 0.5384 GB, free: 4.363 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: 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.00029/0.1523, allocations: 151.1 kB / 0.5385 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.1528, allocations: 326.6 kB / 0.5388 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1528, allocations: 0 / 0.5388 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1529, allocations: 127.3 kB / 0.5389 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.1531, allocations: 11.84 kB / 0.5389 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1535, allocations: 213.4 kB / 0.5392 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1539, allocations: 0.7004 MB / 0.5398 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.262e-06/0.1539, allocations: 0 / 0.5398 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.1539, allocations: 7.438 kB / 0.5398 GB, free: 2.742 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1539, allocations: 7.875 kB / 0.5399 GB, free: 2.734 MB / 398.1 MB Notification: Performance of Templates: time 0.005516/0.1594, allocations: 2.091 MB / 0.5419 GB, free: 0.6523 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.995784787461162] Failed to read output from testmodel.py, exit status != 0: 0.16755816992372274 0.184004212 0.033670771 Calling exit ...