Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 91.67 kB / 20.95 MB, free: 3.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003279/0.003279, allocations: 165.5 kB / 24.38 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9281/0.9281, allocations: 177.1 MB / 204.8 MB, free: 4.973 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.865/1.865, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.7656 kB / 0.7756 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.021e-05, allocations: 2.969 kB / 0.7756 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0017/0.001721, allocations: 0.6763 MB / 0.7763 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.003901, allocations: 1.478 MB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.003927, allocations: 4 kB / 0.7777 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.003944, allocations: 0 / 0.7777 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.003983, allocations: 0.5469 kB / 0.7777 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.004548, allocations: 149.7 kB / 0.7779 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.004624, allocations: 28.5 kB / 0.7779 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.004661, allocations: 5.5 kB / 0.7779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.004735, allocations: 23.97 kB / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.004817, allocations: 15.97 kB / 0.7779 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.004835, allocations: 4 kB / 0.778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.005271, allocations: 256.4 kB / 0.7782 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.005289, allocations: 7.984 kB / 0.7782 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.00531, allocations: 11.92 kB / 0.7782 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.005619, allocations: 208 kB / 0.7784 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005622, allocations: 0 / 0.7784 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005623, allocations: 0.9062 kB / 0.7784 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.005626, allocations: 0 / 0.7784 GB, free: 2.242 MB / 0.7292 GB 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.0004031/0.006029, allocations: 269.6 kB / 0.7787 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.006065, allocations: 9.344 kB / 0.7787 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.006368, allocations: 55.03 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.221e-05/0.00646, allocations: 106.6 kB / 0.7788 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.006479, allocations: 9.188 kB / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.006501, allocations: 384 / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.006696, allocations: 98.33 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.006704, allocations: 192 / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006715, allocations: 4.875 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.006722, allocations: 3.938 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.006776, allocations: 16.58 kB / 0.779 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.006894, allocations: 70.62 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.007089, allocations: 38.7 kB / 0.7791 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.007122, allocations: 17.34 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.007329, allocations: 46.58 kB / 0.7791 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.007353, allocations: 35.16 kB / 0.7792 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.007354, allocations: 0 / 0.7792 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0004938/0.007848, allocations: 207.1 kB / 0.7794 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.007883, allocations: 52.53 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.007939, allocations: 110.6 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.007954, allocations: 30.7 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.00798, allocations: 80.14 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.008014, allocations: 27.78 kB / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.008057, allocations: 18.2 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.008141, allocations: 312.4 kB / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.008167, allocations: 8 kB / 0.78 GB, free: 500 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.008189, allocations: 4 kB / 0.78 GB, free: 496 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.008245, allocations: 28.83 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008246, allocations: 1.188 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.094e-05/0.008337, allocations: 45.69 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.008353, allocations: 11.98 kB / 0.7801 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.008357, allocations: 5.312 kB / 0.7801 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.008367, allocations: 0 / 0.7801 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.00847, allocations: 17.48 kB / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008473, allocations: 0 / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.008526, allocations: 11.92 kB / 0.7801 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.008536, allocations: 4.625 kB / 0.7801 GB, free: 364 kB / 0.7292 GB 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 (6): * Single equations (assignments): 6 * 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 6.2e-05/0.008598, allocations: 111 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.008612, allocations: 4 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.008764, allocations: 70.56 kB / 0.7803 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008766, allocations: 0 / 0.7803 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.008768, allocations: 3.938 kB / 0.7803 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.008773, allocations: 3.938 kB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.51e-05/0.008858, allocations: 74.2 kB / 0.7804 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.008861, allocations: 4 kB / 0.7804 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.008967, allocations: 19.02 kB / 0.7804 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008969, allocations: 0 / 0.7804 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008979, allocations: 4 kB / 0.7804 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.008982, allocations: 4 kB / 0.7804 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008983, allocations: 0 / 0.7804 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.009153, allocations: 93.02 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.009187, allocations: 4 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.009201, allocations: 0 / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.009262, allocations: 17.48 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.009284, allocations: 3.938 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.009297, allocations: 11.92 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.147e-06/0.009306, allocations: 5.984 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009306, allocations: 0 / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001996/0.009505, allocations: 28.78 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001617/0.009667, allocations: 117.3 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.009773, allocations: 32.78 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.009776, allocations: 1.188 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.009813, allocations: 20.8 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.127e-05/0.009895, allocations: 10.75 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.01026, allocations: 142.4 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.0103, allocations: 59.34 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.506e-05/0.01039, allocations: 13.75 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.01047, allocations: 59.36 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01047, allocations: 0 / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.003815/0.01429, allocations: 1.339 MB / 0.7823 GB, free: 14.11 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.88976473454386]