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.008336/0.008336, allocations: 98.11 kB / 15.73 MB, free: 6.055 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.00189/0.00189, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.31/1.31, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3053/0.3053, allocations: 54.96 MB / 324.9 MB, free: 4.832 MB / 270.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.001473/0.001473, allocations: 76.45 kB / 456.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1308, allocations: 59.59 MB / 0.5037 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.001788/0.1326, allocations: 0.5716 MB / 0.5043 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1348, allocations: 1.412 MB / 0.5057 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.1348, allocations: 7.938 kB / 0.5057 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.467e-05/0.1349, allocations: 0 / 0.5057 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.481e-05/0.135, allocations: 0 / 0.5057 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.1358, allocations: 179.5 kB / 0.5059 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1359, allocations: 51.95 kB / 0.5059 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.136, allocations: 4 kB / 0.5059 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.136, allocations: 23.91 kB / 0.5059 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1361, allocations: 23.97 kB / 0.5059 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1362, allocations: 4 kB / 0.506 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.1365, allocations: 195.7 kB / 0.5061 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1366, allocations: 19.91 kB / 0.5062 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1366, allocations: 19.86 kB / 0.5062 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.1369, allocations: 191.4 kB / 0.5064 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1369, allocations: 3.938 kB / 0.5064 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1369, allocations: 4 kB / 0.5064 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.137, allocations: 4 kB / 0.5064 GB, free: 4.324 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.000508/0.1375, allocations: 450.2 kB / 0.5068 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1375, allocations: 12.03 kB / 0.5068 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1376, allocations: 8.891 kB / 0.5068 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1377, allocations: 168.3 kB / 0.507 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1377, allocations: 384 / 0.507 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1378, allocations: 7.938 kB / 0.507 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.138, allocations: 98.45 kB / 0.5071 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.138, allocations: 0 / 0.5071 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.138, allocations: 4 kB / 0.5071 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.138, allocations: 4 kB / 0.5071 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.1381, allocations: 63.89 kB / 0.5072 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1383, allocations: 177.6 kB / 0.5073 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1384, allocations: 82.47 kB / 0.5074 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.1385, allocations: 68.89 kB / 0.5075 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1385, allocations: 0 / 0.5075 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1385, allocations: 34.56 kB / 0.5075 GB, free: 2.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1385, allocations: 0 / 0.5075 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003858/0.1389, allocations: 259.1 kB / 0.5077 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.139, allocations: 81.11 kB / 0.5078 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1391, allocations: 146.8 kB / 0.508 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1391, allocations: 25.7 kB / 0.508 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1392, allocations: 96.08 kB / 0.5081 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1392, allocations: 7.891 kB / 0.5081 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.1393, allocations: 33.73 kB / 0.5081 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1394, allocations: 322.8 kB / 0.5084 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1395, allocations: 99.94 kB / 0.5085 GB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1396, allocations: 99.94 kB / 0.5086 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.1399, allocations: 283.8 kB / 0.5089 GB, free: 1.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1399, allocations: 3.938 kB / 0.5089 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003511/0.1403, allocations: 320.9 kB / 0.5092 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.1403, allocations: 75.38 kB / 0.5093 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1403, allocations: 0 / 0.5093 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1404, allocations: 4.062 kB / 0.5093 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-06/0.1404, allocations: 0 / 0.5093 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1404, allocations: 3.938 kB / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1405, allocations: 11.95 kB / 0.5093 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1406, allocations: 4 kB / 0.5093 GB, free: 1.043 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.0001173/0.1407, allocations: 155.5 kB / 0.5094 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.1407, allocations: 7.953 kB / 0.5094 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.1407, allocations: 12.19 kB / 0.5095 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1407, allocations: 4 kB / 0.5095 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1408, allocations: 0 / 0.5095 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1408, allocations: 0 / 0.5095 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1409, allocations: 177.6 kB / 0.5096 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1409, allocations: 0 / 0.5096 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1409, allocations: 0 / 0.5096 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1409, allocations: 0 / 0.5096 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1409, allocations: 4 kB / 0.5096 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1409, allocations: 0 / 0.5096 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1409, allocations: 0 / 0.5096 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1412, allocations: 238.6 kB / 0.5099 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1412, allocations: 85 kB / 0.5099 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1413, allocations: 4 kB / 0.5099 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.1413, allocations: 7.984 kB / 0.51 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.1414, allocations: 12 kB / 0.51 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1414, allocations: 4.141 kB / 0.51 GB, free: 236 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.415e-05/0.1415, allocations: 109.9 kB / 0.5101 GB, free: 128 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 0 / 0.5101 GB, free: 128 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1418, allocations: 63.92 kB / 0.5101 GB, free: 64 kB / 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.0002588/0.142, allocations: 155.1 kB / 0.5103 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.1424, allocations: 374.6 kB / 0.5106 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1424, allocations: 0 / 0.5106 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1426, allocations: 135.4 kB / 0.5108 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.1427, allocations: 11.92 kB / 0.5108 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.1431, allocations: 217.3 kB / 0.511 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1434, allocations: 0.6963 MB / 0.5117 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.087e-06/0.1434, allocations: 4 kB / 0.5117 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.1434, allocations: 11.44 kB / 0.5117 GB, free: 14.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1434, allocations: 0 / 0.5117 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Templates: time 0.004677/0.1481, allocations: 2.039 MB / 0.5137 GB, free: 12.34 MB / 414.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)