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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007076/0.007076, allocations: 107 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 197 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4294/0.4294, allocations: 54.94 MB / 324.8 MB, free: 80 kB / 254.1 MB 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.001462/0.001462, allocations: 69.22 kB / 456.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 59.6 MB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.002145/0.138, allocations: 0.5636 MB / 0.5044 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1399, allocations: 1.415 MB / 0.5058 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.1399, allocations: 0 / 0.5058 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.14, allocations: 5.359 kB / 0.5058 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1401, allocations: 5.359 kB / 0.5058 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.1408, allocations: 183.9 kB / 0.5059 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.141, allocations: 46.25 kB / 0.506 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.141, allocations: 5.359 kB / 0.506 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.1411, allocations: 21.83 kB / 0.506 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.1411, allocations: 24.66 kB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1412, allocations: 2.531 kB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.1415, allocations: 207.7 kB / 0.5062 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1416, allocations: 10.59 kB / 0.5063 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.1416, allocations: 25.92 kB / 0.5063 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1419, allocations: 193.2 kB / 0.5065 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1419, allocations: 0 / 0.5065 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1419, allocations: 0 / 0.5065 GB, free: 7.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1419, allocations: 1.188 kB / 0.5065 GB, free: 7.738 MB / 382.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.0003776/0.1423, allocations: 437.6 kB / 0.5069 GB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1423, allocations: 9.938 kB / 0.5069 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1424, allocations: 7.312 kB / 0.5069 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.1425, allocations: 173.5 kB / 0.5071 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1425, allocations: 1.844 kB / 0.5071 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.1425, allocations: 9.609 kB / 0.5071 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1427, allocations: 101.5 kB / 0.5072 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1427, allocations: 0 / 0.5072 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1427, allocations: 1.344 kB / 0.5072 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1427, allocations: 0 / 0.5072 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.1428, allocations: 68.36 kB / 0.5072 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.143, allocations: 169.3 kB / 0.5074 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1431, allocations: 80.86 kB / 0.5075 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.1432, allocations: 78.02 kB / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1432, allocations: 0 / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1432, allocations: 31.94 kB / 0.5076 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1432, allocations: 0 / 0.5076 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004027/0.1436, allocations: 256.3 kB / 0.5078 GB, free: 6.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1437, allocations: 81.11 kB / 0.5079 GB, free: 6.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1438, allocations: 148 kB / 0.508 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1438, allocations: 29.7 kB / 0.5081 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.1438, allocations: 100.1 kB / 0.5082 GB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1439, allocations: 7.906 kB / 0.5082 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.1439, allocations: 25.72 kB / 0.5082 GB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.144, allocations: 322.8 kB / 0.5085 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.1441, allocations: 99.94 kB / 0.5086 GB, free: 5.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.1442, allocations: 107.9 kB / 0.5087 GB, free: 5.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1444, allocations: 285.8 kB / 0.509 GB, free: 5.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1444, allocations: 3.938 kB / 0.509 GB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002473/0.1446, allocations: 328.8 kB / 0.5093 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.1447, allocations: 71.39 kB / 0.5094 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1447, allocations: 0 / 0.5094 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1447, allocations: 0 / 0.5094 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1447, allocations: 0 / 0.5094 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1447, allocations: 0 / 0.5094 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1449, allocations: 19.83 kB / 0.5094 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1449, allocations: 0 / 0.5094 GB, free: 4.816 MB / 382.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 7.122e-05/0.145, allocations: 155.5 kB / 0.5095 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.145, allocations: 11.94 kB / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/0.145, allocations: 8.25 kB / 0.5095 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.145, allocations: 144 / 0.5095 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.145, allocations: 0 / 0.5095 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.145, allocations: 3.984 kB / 0.5096 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.74e-05/0.1451, allocations: 177.6 kB / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1451, allocations: 0 / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1451, allocations: 0 / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1451, allocations: 0 / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1452, allocations: 4 kB / 0.5097 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1452, allocations: 3.984 kB / 0.5097 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1452, allocations: 4 kB / 0.5097 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1454, allocations: 230.5 kB / 0.51 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.1454, allocations: 85 kB / 0.51 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1454, allocations: 7.938 kB / 0.51 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.1455, allocations: 0 / 0.51 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1455, allocations: 11.98 kB / 0.5101 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1456, allocations: 4 kB / 0.5101 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.1456, allocations: 107.3 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1456, allocations: 0 / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1459, allocations: 68 kB / 0.5102 GB, free: 3.836 MB / 382.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.0002558/0.1462, allocations: 151.1 kB / 0.5104 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.1465, allocations: 374.6 kB / 0.5107 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1465, allocations: 0 / 0.5107 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1466, allocations: 135.3 kB / 0.5109 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.1468, allocations: 13.78 kB / 0.5109 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1472, allocations: 209.5 kB / 0.5111 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.1474, allocations: 0.6924 MB / 0.5117 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.545e-06/0.1474, allocations: 0 / 0.5117 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.1474, allocations: 7.438 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1474, allocations: 0 / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of Templates: time 0.005603/0.153, allocations: 2.091 MB / 0.5138 GB, free: 92 kB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile (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)