Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4647/0.4647, allocations: 54.94 MB / 324.4 MB, free: 104 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.002525/0.002526, allocations: 60.47 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1718, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.3001/0.472, allocations: 0.6277 MB / 455.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004567/0.4725, allocations: 153.2 kB / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.4726, allocations: 0 / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.4726, allocations: 0 / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.4727, allocations: 0 / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.4731, allocations: 33.64 kB / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.4731, allocations: 10.27 kB / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.4732, allocations: 4.969 kB / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.4732, allocations: 10.38 kB / 455.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.4733, allocations: 11.14 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.4733, allocations: 2.469 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.4734, allocations: 35.17 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.4735, allocations: 6.078 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4735, allocations: 14.8 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.4736, allocations: 28.53 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.4737, allocations: 0.5625 kB / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4737, allocations: 0 / 455.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4737, allocations: 0 / 455.4 MB, free: 38.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004197/0.4741, allocations: 329.3 kB / 455.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4742, allocations: 9.531 kB / 455.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4742, allocations: 3.656 kB / 455.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.4743, allocations: 163.6 kB / 455.9 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4743, allocations: 7.844 kB / 455.9 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.4744, allocations: 3.125 kB / 455.9 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4745, allocations: 50.11 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4745, allocations: 2.516 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4745, allocations: 1.594 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4745, allocations: 0.625 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.4746, allocations: 16.84 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.4747, allocations: 159.3 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.4748, allocations: 47.17 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.4749, allocations: 19.39 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.475, allocations: 84.72 kB / 456.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.475, allocations: 37.94 kB / 456.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.475, allocations: 0.7188 kB / 456.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001248/0.4763, allocations: 490.3 kB / 456.8 MB, free: 37.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4763, allocations: 58.03 kB / 456.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.4764, allocations: 91.55 kB / 457 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4764, allocations: 29.36 kB / 457 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.4764, allocations: 84.28 kB / 457.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.4764, allocations: 28.61 kB / 457.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.4765, allocations: 19.19 kB / 457.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.4765, allocations: 317.1 kB / 457.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.4766, allocations: 11.5 kB / 457.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.4766, allocations: 14.89 kB / 457.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.4767, allocations: 36.33 kB / 457.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4767, allocations: 0.8438 kB / 457.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.64e-05/0.4768, allocations: 74.17 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4768, allocations: 9.203 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4768, allocations: 1.031 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4768, allocations: 1.031 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.4769, allocations: 13.56 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4769, allocations: 5.047 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.477, allocations: 3.344 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.477, allocations: 3.031 kB / 457.6 MB, free: 37.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 5.291e-05/0.4771, allocations: 113.2 kB / 457.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.4771, allocations: 7.625 kB / 457.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.4772, allocations: 89.3 kB / 457.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4772, allocations: 0 / 457.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4772, allocations: 2 kB / 457.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4773, allocations: 3.422 kB / 457.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.4773, allocations: 166.7 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4773, allocations: 1.312 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.4774, allocations: 15.09 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4774, allocations: 1.25 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4775, allocations: 0 / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4775, allocations: 2.719 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4775, allocations: 1.281 kB / 458 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.4776, allocations: 123.5 kB / 458.1 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4776, allocations: 80.86 kB / 458.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4777, allocations: 1.562 kB / 458.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.4777, allocations: 5.531 kB / 458.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.4777, allocations: 8.719 kB / 458.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4778, allocations: 4.25 kB / 458.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.971e-05/0.4778, allocations: 75.28 kB / 458.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.11e-07/0.4778, allocations: 0 / 458.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000209/0.478, allocations: 35.16 kB / 458.3 MB, free: 36.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001745/0.4782, allocations: 124.8 kB / 458.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.4783, allocations: 48.62 kB / 458.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4783, allocations: 4.312 kB / 458.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.4784, allocations: 19.59 kB / 458.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4785, allocations: 12.25 kB / 458.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.4788, allocations: 150.7 kB / 458.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4789, allocations: 0.6777 MB / 459.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.479, allocations: 7.703 kB / 459.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.479, allocations: 13.44 kB / 459.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.479, allocations: 0 / 459.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of Templates: time 0.00312/0.4821, allocations: 0.8764 MB / 460.3 MB, free: 35.49 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)