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.004433/0.004433, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.00105/0.00105, allocations: 186.5 kB / 16.67 MB, free: 5.957 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.301/1.301, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3766/0.3766, allocations: 54.95 MB / 324.9 MB, free: 52 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.001515/0.001515, allocations: 72.59 kB / 456.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 59.59 MB / 0.5038 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.002019/0.1411, allocations: 0.5753 MB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1432, allocations: 1.414 MB / 0.5057 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.1433, allocations: 0 / 0.5057 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.1434, allocations: 1.281 kB / 0.5057 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.1435, allocations: 5.281 kB / 0.5057 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1446, allocations: 177.5 kB / 0.5059 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1448, allocations: 49.81 kB / 0.506 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.1449, allocations: 6.609 kB / 0.506 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.1449, allocations: 20.52 kB / 0.506 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1451, allocations: 25.38 kB / 0.506 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1451, allocations: 2.344 kB / 0.506 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.1456, allocations: 199.2 kB / 0.5062 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.1456, allocations: 11.55 kB / 0.5062 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1457, allocations: 26.28 kB / 0.5062 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1461, allocations: 199.9 kB / 0.5064 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1461, allocations: 0 / 0.5064 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1462, allocations: 0 / 0.5064 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1462, allocations: 1.375 kB / 0.5064 GB, free: 7.574 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.0005694/0.1467, allocations: 440.6 kB / 0.5069 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.1468, allocations: 9.625 kB / 0.5069 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.1469, allocations: 9.016 kB / 0.5069 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.147, allocations: 176.4 kB / 0.507 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1471, allocations: 1.75 kB / 0.507 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1471, allocations: 10.69 kB / 0.5071 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1474, allocations: 92.39 kB / 0.5071 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1474, allocations: 1.375 kB / 0.5071 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1474, allocations: 4 kB / 0.5071 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1474, allocations: 5.375 kB / 0.5072 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1476, allocations: 63.89 kB / 0.5072 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1478, allocations: 176.6 kB / 0.5074 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1479, allocations: 79.84 kB / 0.5075 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1481, allocations: 75.61 kB / 0.5075 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1481, allocations: 0 / 0.5075 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1481, allocations: 31.94 kB / 0.5076 GB, free: 6.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1481, allocations: 3.938 kB / 0.5076 GB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004569/0.1486, allocations: 254.1 kB / 0.5078 GB, free: 6.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1486, allocations: 84.34 kB / 0.5079 GB, free: 6.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1488, allocations: 139 kB / 0.508 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1488, allocations: 31.14 kB / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.1488, allocations: 99.95 kB / 0.5081 GB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1489, allocations: 9.484 kB / 0.5082 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.1489, allocations: 30.27 kB / 0.5082 GB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.149, allocations: 312.1 kB / 0.5085 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1492, allocations: 104.2 kB / 0.5086 GB, free: 5.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1493, allocations: 104.8 kB / 0.5087 GB, free: 5.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1495, allocations: 283.3 kB / 0.5089 GB, free: 5.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1496, allocations: 7.969 kB / 0.509 GB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002489/0.1498, allocations: 324.8 kB / 0.5093 GB, free: 4.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.1499, allocations: 71.39 kB / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1499, allocations: 144 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1499, allocations: 0 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.1499, allocations: 7.969 kB / 0.5093 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1499, allocations: 0 / 0.5093 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1501, allocations: 15.89 kB / 0.5094 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1501, allocations: 0 / 0.5094 GB, free: 4.879 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 8.352e-05/0.1502, allocations: 155.5 kB / 0.5095 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1502, allocations: 7.953 kB / 0.5095 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.1503, allocations: 12.25 kB / 0.5095 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1503, allocations: 3.984 kB / 0.5095 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1503, allocations: 0 / 0.5095 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1503, allocations: 0 / 0.5095 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.586e-05/0.1504, allocations: 169.6 kB / 0.5097 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1504, allocations: 3.984 kB / 0.5097 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1504, allocations: 0 / 0.5097 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1504, allocations: 0 / 0.5097 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1504, allocations: 4 kB / 0.5097 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1504, allocations: 4 kB / 0.5097 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1504, allocations: 3.938 kB / 0.5097 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1506, allocations: 234.6 kB / 0.5099 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1506, allocations: 81.06 kB / 0.51 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1507, allocations: 4 kB / 0.51 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.1507, allocations: 0 / 0.51 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.1508, allocations: 11.98 kB / 0.51 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1508, allocations: 4 kB / 0.51 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.1508, allocations: 111.3 kB / 0.5101 GB, free: 3.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1508, allocations: 3.938 kB / 0.5101 GB, free: 3.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1511, allocations: 71.81 kB / 0.5102 GB, free: 3.895 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.0002278/0.1514, allocations: 147.1 kB / 0.5103 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.1517, allocations: 374.6 kB / 0.5107 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1517, allocations: 0 / 0.5107 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.1518, allocations: 135.4 kB / 0.5108 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.152, allocations: 17.56 kB / 0.5108 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1523, allocations: 213.3 kB / 0.5111 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1525, allocations: 0.6885 MB / 0.5117 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.843e-06/0.1525, allocations: 0 / 0.5117 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.1525, allocations: 11.44 kB / 0.5117 GB, free: 2.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1525, allocations: 0 / 0.5117 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Templates: time 0.004513/0.157, allocations: 2.042 MB / 0.5137 GB, free: 196 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)