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.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001297/0.001298, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.466/1.466, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3941/0.3941, allocations: 54.93 MB / 324.3 MB, free: 212 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.001716/0.001716, allocations: 64.34 kB / 394.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1814, allocations: 59.6 MB / 454.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.3228/0.5043, allocations: 0.6169 MB / 454.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.505, allocations: 162.3 kB / 455 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.5051, allocations: 0 / 455 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.5051, allocations: 0.5625 kB / 455 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.548e-05/0.5051, allocations: 0 / 455 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.5055, allocations: 30.14 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.5055, allocations: 15.86 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.966e-05/0.5056, allocations: 4.375 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.5057, allocations: 6.234 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.5057, allocations: 13.36 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.5058, allocations: 2.875 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.5059, allocations: 30.53 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.5059, allocations: 4.828 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.5059, allocations: 12.56 kB / 455.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.5061, allocations: 32.38 kB / 455.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5061, allocations: 3.719 kB / 455.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5061, allocations: 0 / 455.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.5061, allocations: 0.8438 kB / 455.2 MB, free: 38.96 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.0004238/0.5065, allocations: 331.7 kB / 455.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5066, allocations: 18.09 kB / 455.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.5066, allocations: 0.9375 kB / 455.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5067, allocations: 162.6 kB / 455.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5068, allocations: 4.5 kB / 455.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5068, allocations: 384 / 455.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.5069, allocations: 54.23 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5069, allocations: 1 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.507, allocations: 3.375 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.507, allocations: 4.031 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.507, allocations: 12.03 kB / 455.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.5072, allocations: 159.9 kB / 455.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5073, allocations: 51.86 kB / 456 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.5074, allocations: 18.02 kB / 456 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-05/0.5074, allocations: 87.03 kB / 456.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5075, allocations: 35.53 kB / 456.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.5075, allocations: 0.5 kB / 456.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001337/0.5088, allocations: 486.8 kB / 456.6 MB, free: 37.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5089, allocations: 54.28 kB / 456.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.5089, allocations: 91.31 kB / 456.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.509, allocations: 29.17 kB / 456.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.509, allocations: 84.8 kB / 456.8 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.509, allocations: 24.95 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.5091, allocations: 20.02 kB / 456.9 MB, free: 37.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.5092, allocations: 314.3 kB / 457.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.5092, allocations: 16.75 kB / 457.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.5092, allocations: 17.62 kB / 457.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.5093, allocations: 33.11 kB / 457.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5093, allocations: 0 / 457.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.5094, allocations: 79.92 kB / 457.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5094, allocations: 5.875 kB / 457.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5095, allocations: 0 / 457.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5095, allocations: 0 / 457.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.5096, allocations: 18.7 kB / 457.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5096, allocations: 0 / 457.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.5096, allocations: 0 / 457.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5096, allocations: 8.469 kB / 457.4 MB, free: 37.01 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 7.741e-05/0.5097, allocations: 111.9 kB / 457.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.5097, allocations: 3.938 kB / 457.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.5099, allocations: 92.45 kB / 457.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5099, allocations: 0 / 457.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.51, allocations: 0.5625 kB / 457.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.51, allocations: 1.594 kB / 457.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.5101, allocations: 165.2 kB / 457.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5101, allocations: 3.938 kB / 457.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.5102, allocations: 14.53 kB / 457.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5102, allocations: 4.156 kB / 457.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.5102, allocations: 2.906 kB / 457.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5102, allocations: 3.938 kB / 457.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5102, allocations: 3.906 kB / 457.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5104, allocations: 115.2 kB / 457.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.5105, allocations: 81.05 kB / 457.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5105, allocations: 5.969 kB / 458 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.5105, allocations: 2.719 kB / 458 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.5106, allocations: 6.344 kB / 458 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.5106, allocations: 3.875 kB / 458 MB, free: 36.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.5106, allocations: 84.41 kB / 458.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5106, allocations: 0 / 458.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.5109, allocations: 34.91 kB / 458.1 MB, free: 36.43 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.0001996/0.5111, allocations: 125.6 kB / 458.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.5112, allocations: 38.89 kB / 458.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5112, allocations: 0 / 458.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.5112, allocations: 25.88 kB / 458.3 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.5114, allocations: 13.56 kB / 458.3 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.5118, allocations: 146.5 kB / 458.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.512, allocations: 0.6877 MB / 459.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.512, allocations: 4.062 kB / 459.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.5121, allocations: 20.72 kB / 459.1 MB, free: 35.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5121, allocations: 0 / 459.1 MB, free: 35.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003027/0.5151, allocations: 0.8428 MB / 460 MB, free: 35.48 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)