Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.000991/0.000991, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002127, 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.001008/0.001008, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002368, 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.9539/0.9539, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08522/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.907/1.907, allocations: 378.3 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4905/2.397, allocations: 123.3 MB / 0.7283 GB, free: 5.723 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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7297 GB, free: 4.344 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.749e-05, allocations: 7.062 kB / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00242/0.002447, allocations: 0.7088 MB / 0.7304 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003796, allocations: 1.487 MB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.00382, allocations: 0 / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-06/0.003825, allocations: 0.6875 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.003861, allocations: 10.02 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.00411, allocations: 118 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.004164, allocations: 23.92 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.004195, allocations: 4.766 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.004269, allocations: 27.14 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.004324, allocations: 15.03 kB / 0.732 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004338, allocations: 4.5 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.004616, allocations: 260 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.004631, allocations: 8.656 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.004646, allocations: 4 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004853, allocations: 173 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.004865, allocations: 0 / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004865, allocations: 0 / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.004874, allocations: 0.5312 kB / 0.7325 GB, free: 1.555 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000427/0.005301, allocations: 285.8 kB / 0.7328 GB, free: 1.254 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.005328, allocations: 8.031 kB / 0.7328 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.005538, allocations: 132.9 kB / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.005608, allocations: 109.8 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.00562, allocations: 4.375 kB / 0.733 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.005635, allocations: 384 / 0.733 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.005752, allocations: 73.02 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.005758, allocations: 192 / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005764, allocations: 384 / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.005774, allocations: 7.938 kB / 0.7331 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.005808, allocations: 17.67 kB / 0.7331 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.017e-05/0.005888, allocations: 65.05 kB / 0.7332 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.005951, allocations: 38.55 kB / 0.7332 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.005972, allocations: 18.06 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005983, allocations: 0 / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.006004, allocations: 38.56 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 5.51e-07/0.006004, allocations: 0.6562 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.0009526/0.006957, allocations: 362.7 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.006984, allocations: 63.28 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.00704, allocations: 110.7 kB / 0.7338 GB, free: 132 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007055, allocations: 26.23 kB / 0.7338 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.007079, allocations: 89.41 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.007133, allocations: 31.86 kB / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.007174, allocations: 25.69 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.007242, allocations: 322.8 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.007275, allocations: 20.77 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.007302, allocations: 17.31 kB / 0.7343 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/0.007357, allocations: 41.7 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007358, allocations: 0 / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.523e-05/0.007443, allocations: 66.38 kB / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.007453, allocations: 4.656 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007458, allocations: 7.984 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.007467, allocations: 1.5 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.007599, allocations: 50.33 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.007601, allocations: 0 / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.007657, allocations: 15.98 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.007665, allocations: 10.73 kB / 0.7345 GB, free: 15.39 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 (9): * Single equations (assignments): 9 * 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.078e-05/0.007726, allocations: 113.8 kB / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007739, allocations: 4 kB / 0.7346 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.00777, allocations: 12.42 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.007772, allocations: 4 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.007775, allocations: 3.938 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007778, allocations: 3.984 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.008136, allocations: 297.5 kB / 0.7349 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008137, allocations: 0 / 0.7349 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.008223, allocations: 46.97 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.008232, allocations: 11.89 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.008235, allocations: 3.938 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008242, allocations: 4 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.008245, allocations: 4 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008246, allocations: 0 / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.008361, allocations: 178.6 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.008376, allocations: 7.938 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.008445, allocations: 21.2 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.008472, allocations: 7.984 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.008479, allocations: 8.828 kB / 0.7352 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.38e-05/0.008493, allocations: 8.859 kB / 0.7352 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008493, allocations: 0 / 0.7352 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001726/0.008666, allocations: 44.55 kB / 0.7352 GB, free: 14.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0001422/0.008808, allocations: 113 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.00892, allocations: 61.92 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.008925, allocations: 0 / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.008977, allocations: 50.25 kB / 0.7354 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.009106, allocations: 15.98 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.009571, allocations: 271.2 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.00961, allocations: 55.36 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.096e-05/0.009671, allocations: 22.61 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.009748, allocations: 62.11 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of SimCode: time 4.3e-07/0.009748, allocations: 0 / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.003267/0.01302, allocations: 1.949 MB / 0.7377 GB, free: 12.02 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.817332874983549]