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.001239/0.001239, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007784/0.007785, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3879/0.3879, allocations: 55 MB / 325.7 MB, free: 0.6523 MB / 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.0005656/0.0005656, allocations: 16 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3585, allocations: 60.73 MB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006164/0.3591, allocations: 312.2 kB / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3607, allocations: 1.429 MB / 459.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.3607, allocations: 0 / 459.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.3608, allocations: 0 / 459.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.3608, allocations: 8.203 kB / 459.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.3613, allocations: 136.9 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.3614, allocations: 38.91 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.3614, allocations: 6.703 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.3615, allocations: 19.28 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.3615, allocations: 23.62 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3616, allocations: 2.844 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.3618, allocations: 192.5 kB / 460.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.3619, allocations: 20.02 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3619, allocations: 44.02 kB / 460.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3621, allocations: 190.9 kB / 460.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3621, allocations: 0 / 460.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3621, allocations: 0 / 460.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3622, allocations: 1.562 kB / 460.4 MB, free: 38.12 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.0003007/0.3625, allocations: 434.8 kB / 460.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3625, allocations: 13.38 kB / 460.8 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.3625, allocations: 8.875 kB / 460.8 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.3626, allocations: 176 kB / 461 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3626, allocations: 384 / 461 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3627, allocations: 9.375 kB / 461 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3628, allocations: 94.94 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.3628, allocations: 0 / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3629, allocations: 0.9375 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3629, allocations: 1.312 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.3629, allocations: 65.5 kB / 461.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.907e-05/0.3631, allocations: 173.8 kB / 461.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.3632, allocations: 82.78 kB / 461.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.3632, allocations: 70.27 kB / 461.5 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.3632, allocations: 0 / 461.5 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.3633, allocations: 34.81 kB / 461.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3633, allocations: 0 / 461.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003292/0.3636, allocations: 259.7 kB / 461.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3636, allocations: 81.8 kB / 461.9 MB, free: 37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.3637, allocations: 142.6 kB / 462 MB, free: 36.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3638, allocations: 28.55 kB / 462 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.3638, allocations: 97.19 kB / 462.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3638, allocations: 11.75 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.3639, allocations: 22.95 kB / 462.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.3639, allocations: 318.6 kB / 462.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.364, allocations: 105.3 kB / 462.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.3641, allocations: 98.88 kB / 462.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3643, allocations: 280.5 kB / 462.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3644, allocations: 5.25 kB / 462.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002755/0.3646, allocations: 324.2 kB / 463.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.3647, allocations: 72.72 kB / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3647, allocations: 3.75 kB / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3647, allocations: 0 / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.3647, allocations: 4.625 kB / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3647, allocations: 0 / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3649, allocations: 6.094 kB / 463.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3649, allocations: 5.719 kB / 463.4 MB, free: 36.17 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.234e-05/0.365, allocations: 165.5 kB / 463.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.365, allocations: 12.27 kB / 463.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.365, allocations: 4.25 kB / 463.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3651, allocations: 1.344 kB / 463.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3651, allocations: 3.031 kB / 463.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3651, allocations: 0 / 463.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.625e-05/0.3652, allocations: 178.6 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3652, allocations: 0 / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.3652, allocations: 0.6875 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3652, allocations: 2.781 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3652, allocations: 0 / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3652, allocations: 5.875 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3652, allocations: 3.938 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.3655, allocations: 229.5 kB / 463.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.3655, allocations: 87.98 kB / 464 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3655, allocations: 4.969 kB / 464 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.3656, allocations: 3.484 kB / 464 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.3656, allocations: 10 kB / 464 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3657, allocations: 1 kB / 464.1 MB, free: 35.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.3657, allocations: 112.6 kB / 464.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3657, allocations: 0.75 kB / 464.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.366, allocations: 64.28 kB / 464.2 MB, free: 35.53 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.000227/0.3662, allocations: 145.5 kB / 464.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.3666, allocations: 376.3 kB / 464.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3666, allocations: 0 / 464.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3667, allocations: 136.7 kB / 464.9 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.3668, allocations: 7.75 kB / 464.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.3671, allocations: 229.8 kB / 465.1 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3673, allocations: 0.6871 MB / 465.8 MB, free: 34.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.3673, allocations: 3.906 kB / 465.8 MB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.027e-05/0.3673, allocations: 10.25 kB / 465.8 MB, free: 34.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3673, allocations: 256 / 465.8 MB, free: 34.41 MB / 382.1 MB Notification: Performance of Templates: time 0.00421/0.3715, allocations: 1.919 MB / 467.7 MB, free: 34.3 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: