Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000771/0.000771, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001892, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007309/0.0007309, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001802, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9848/0.9848, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09328/1.078, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4633/2.367, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.123e-05, allocations: 2.859 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002366/0.002397, allocations: 0.672 MB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.004621, allocations: 1.486 MB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.004647, allocations: 0.5 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-06/0.004655, allocations: 0 / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.827e-05/0.004673, allocations: 2.281 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.005179, allocations: 140.5 kB / 0.732 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.005271, allocations: 30.33 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.005312, allocations: 0.875 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.005397, allocations: 25.55 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.005489, allocations: 17.5 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.005509, allocations: 4.812 kB / 0.732 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.005954, allocations: 258.7 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.005974, allocations: 5.594 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.005994, allocations: 7.938 kB / 0.7323 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.006306, allocations: 168.9 kB / 0.7325 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.006322, allocations: 0 / 0.7325 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.006324, allocations: 0 / 0.7325 GB, free: 1.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.006339, allocations: 0.8438 kB / 0.7325 GB, free: 1.59 MB / 0.698 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.0005337/0.006872, allocations: 268.8 kB / 0.7327 GB, free: 1.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.006914, allocations: 12.03 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.007271, allocations: 136.5 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.007365, allocations: 103.3 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.007384, allocations: 8.312 kB / 0.733 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.007412, allocations: 384 / 0.733 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.007599, allocations: 106.3 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007607, allocations: 192 / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.007618, allocations: 384 / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007626, allocations: 9.688 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.007676, allocations: 11.98 kB / 0.7331 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.007803, allocations: 68.98 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.008006, allocations: 43.11 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.008035, allocations: 14.03 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.00824, allocations: 46.42 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.008268, allocations: 38.5 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.00827, allocations: 0.5312 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0009494/0.009219, allocations: 274.8 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.009253, allocations: 51.41 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.009316, allocations: 106.6 kB / 0.7337 GB, free: 164 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.009332, allocations: 26.48 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.009358, allocations: 80.14 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.009395, allocations: 28.38 kB / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.009459, allocations: 18.45 kB / 0.7338 GB, free: 16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.009551, allocations: 310.8 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.009578, allocations: 12.81 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.009599, allocations: 4 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.009715, allocations: 33.58 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009717, allocations: 0 / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001014/0.009818, allocations: 47.06 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.009836, allocations: 8 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.009844, allocations: 7.969 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.00986, allocations: 1.578 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.009973, allocations: 15.98 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009978, allocations: 5.156 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.01002, allocations: 11.92 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.01003, allocations: 1.25 kB / 0.7343 GB, free: 15.54 MB / 0.7136 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 7.682e-05/0.01011, allocations: 117.8 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.01012, allocations: 3.984 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.01029, allocations: 72.94 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01029, allocations: 4 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01029, allocations: 2.875 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0103, allocations: 3.938 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.141e-05/0.01039, allocations: 69.89 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01039, allocations: 0 / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.0105, allocations: 19.98 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.01054, allocations: 16.22 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01054, allocations: 0.6562 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.01055, allocations: 4 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01056, allocations: 2 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01056, allocations: 0 / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01073, allocations: 92.98 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.01075, allocations: 0 / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.01081, allocations: 18.42 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.01083, allocations: 3.984 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.01084, allocations: 0 / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.484e-05/0.01086, allocations: 8.859 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01086, allocations: 0 / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002264/0.01109, allocations: 27.88 kB / 0.7347 GB, free: 15.03 MB / 0.7136 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.0002522/0.01134, allocations: 118.5 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.01146, allocations: 36.72 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.01147, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.01152, allocations: 28.78 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.01164, allocations: 10.44 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.01209, allocations: 136.5 kB / 0.735 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.01212, allocations: 61.66 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.291e-05/0.01218, allocations: 19.19 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.01226, allocations: 56.03 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.493e-06/0.01226, allocations: 0 / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.003101/0.01536, allocations: 1.412 MB / 0.7366 GB, free: 13.18 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8544810665771365]