Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 173 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4407/0.4407, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007448/0.0007448, allocations: 92.55 kB / 425.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 16 kB / 0.4955 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006058/0.3028, allocations: 325.4 kB / 0.5655 GB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003772/0.3032, allocations: 231.3 kB / 0.5657 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.3032, allocations: 0 / 0.5657 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3033, allocations: 2.75 kB / 0.5657 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.864e-05/0.3033, allocations: 0 / 0.5657 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3036, allocations: 35.95 kB / 0.5658 GB, free: 41.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.3036, allocations: 19.88 kB / 0.5658 GB, free: 41.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.3036, allocations: 3.984 kB / 0.5658 GB, free: 41.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.3037, allocations: 4 kB / 0.5658 GB, free: 41.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.3037, allocations: 7.922 kB / 0.5658 GB, free: 41.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3038, allocations: 4.5 kB / 0.5658 GB, free: 41.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.3038, allocations: 31.97 kB / 0.5658 GB, free: 41.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3039, allocations: 6.141 kB / 0.5658 GB, free: 41.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.3039, allocations: 37.64 kB / 0.5659 GB, free: 41.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.304, allocations: 27.95 kB / 0.5659 GB, free: 41.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.304, allocations: 0 / 0.5659 GB, free: 41.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.304, allocations: 0 / 0.5659 GB, free: 41.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.304, allocations: 0 / 0.5659 GB, free: 41.6 MB / 410.7 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.0002883/0.3043, allocations: 329.1 kB / 0.5662 GB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.3043, allocations: 11.97 kB / 0.5662 GB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.3044, allocations: 5.531 kB / 0.5662 GB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.3044, allocations: 165.1 kB / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3045, allocations: 384 / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3045, allocations: 7.375 kB / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.292e-05/0.3046, allocations: 38.25 kB / 0.5664 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3046, allocations: 8.125 kB / 0.5664 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3046, allocations: 7.938 kB / 0.5665 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3046, allocations: 0 / 0.5665 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.3047, allocations: 11.98 kB / 0.5665 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.3048, allocations: 159.8 kB / 0.5666 GB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.3049, allocations: 49.5 kB / 0.5667 GB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.3049, allocations: 20.97 kB / 0.5667 GB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.416e-05/0.305, allocations: 81.09 kB / 0.5668 GB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.305, allocations: 38.5 kB / 0.5668 GB, free: 40.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.305, allocations: 3.562 kB / 0.5668 GB, free: 40.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.001059/0.3061, allocations: 492.4 kB / 0.5673 GB, free: 39.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.3061, allocations: 51.41 kB / 0.5673 GB, free: 39.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.618e-05/0.3061, allocations: 89.86 kB / 0.5674 GB, free: 39.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.3062, allocations: 29.7 kB / 0.5674 GB, free: 39.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.3062, allocations: 88.25 kB / 0.5675 GB, free: 39.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3062, allocations: 23.56 kB / 0.5675 GB, free: 39.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.3062, allocations: 4 kB / 0.5675 GB, free: 39.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.3063, allocations: 314.8 kB / 0.5678 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.3063, allocations: 11.98 kB / 0.5679 GB, free: 39.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.3063, allocations: 12 kB / 0.5679 GB, free: 39.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.3064, allocations: 40.78 kB / 0.5679 GB, free: 39.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3064, allocations: 0 / 0.5679 GB, free: 39.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.039e-05/0.3064, allocations: 69.91 kB / 0.568 GB, free: 39.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3065, allocations: 7.938 kB / 0.568 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3065, allocations: 4 kB / 0.568 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3065, allocations: 0 / 0.568 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.3066, allocations: 12 kB / 0.568 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3066, allocations: 8.047 kB / 0.568 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.3066, allocations: 7.938 kB / 0.568 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3066, allocations: 0 / 0.568 GB, free: 39.15 MB / 410.7 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 4.416e-05/0.3067, allocations: 117.8 kB / 0.5681 GB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.3067, allocations: 3.938 kB / 0.5681 GB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.3068, allocations: 85.64 kB / 0.5682 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3068, allocations: 0 / 0.5682 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3068, allocations: 0 / 0.5682 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3068, allocations: 0 / 0.5682 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.3069, allocations: 173.6 kB / 0.5684 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3069, allocations: 0 / 0.5684 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.307, allocations: 15.94 kB / 0.5684 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.307, allocations: 3.938 kB / 0.5684 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.307, allocations: 0 / 0.5684 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.307, allocations: 4 kB / 0.5684 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.307, allocations: 4 kB / 0.5684 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3072, allocations: 113 kB / 0.5685 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.3072, allocations: 85.03 kB / 0.5686 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.3072, allocations: 0 / 0.5686 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.3072, allocations: 4.031 kB / 0.5686 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.3073, allocations: 0 / 0.5686 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3073, allocations: 4 kB / 0.5686 GB, free: 38.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.511e-05/0.3073, allocations: 87.33 kB / 0.5687 GB, free: 38.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3073, allocations: 0 / 0.5687 GB, free: 38.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.3075, allocations: 28 kB / 0.5687 GB, free: 38.32 MB / 410.7 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.0001512/0.3076, allocations: 143.2 kB / 0.5688 GB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.3077, allocations: 31.98 kB / 0.5689 GB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3077, allocations: 0 / 0.5689 GB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.3078, allocations: 27.88 kB / 0.5689 GB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3079, allocations: 9.766 kB / 0.5689 GB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.3082, allocations: 156.7 kB / 0.5691 GB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.3082, allocations: 0.6848 MB / 0.5697 GB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3083, allocations: 4 kB / 0.5697 GB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.3083, allocations: 11.44 kB / 0.5697 GB, free: 37.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3083, allocations: 4 kB / 0.5698 GB, free: 37.2 MB / 410.7 MB Notification: Performance of Templates: time 0.002386/0.3107, allocations: 0.8503 MB / 0.5706 GB, free: 36.35 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)