Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007286/0.0007286, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.00183, allocations: 440 kB / 10.41 MB, free: 284 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.0006941/0.0006941, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009068/0.001601, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08516/1.115, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.365/2.365, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2464/2.611, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.819e-05, allocations: 4.984 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002272/0.002301, allocations: 0.6968 MB / 0.8197 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.00444, allocations: 1.485 MB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.004466, allocations: 0 / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-06/0.004476, allocations: 3.938 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.004515, allocations: 11.92 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.004861, allocations: 119.4 kB / 0.8213 GB, free: 100 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.004953, allocations: 23.92 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.004997, allocations: 4 kB / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.005094, allocations: 31.91 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.005159, allocations: 19.91 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.005176, allocations: 4 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.005578, allocations: 255.5 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.005597, allocations: 7.938 kB / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.005614, allocations: 11.94 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.005879, allocations: 159.7 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.005891, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.11e-07/0.005892, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.005905, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.8073 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.0004511/0.006356, allocations: 300 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.006391, allocations: 8.031 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.006658, allocations: 122 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.006758, allocations: 113.7 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006774, allocations: 4.375 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.006796, allocations: 8.312 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.00695, allocations: 66.92 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.00696, allocations: 192 / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.006968, allocations: 4.375 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006976, allocations: 7.938 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.007022, allocations: 15.98 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.819e-05/0.007121, allocations: 61.05 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.007201, allocations: 42.55 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.007227, allocations: 20.98 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.007239, allocations: 0 / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.007263, allocations: 42.55 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.007264, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 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.0009853/0.008249, allocations: 357.1 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.008276, allocations: 59.34 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.008332, allocations: 114.7 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.008347, allocations: 33.7 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.008368, allocations: 88.11 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.008398, allocations: 27.7 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.008436, allocations: 25.69 kB / 0.8232 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.008508, allocations: 322.8 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.008535, allocations: 12 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.008563, allocations: 19.98 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.008616, allocations: 36.78 kB / 0.8236 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.008617, allocations: 0 / 0.8236 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.418e-05/0.008701, allocations: 69.67 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.008713, allocations: 8 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.008716, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008732, allocations: 3.938 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.008856, allocations: 51.83 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.008859, allocations: 3.984 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.008915, allocations: 15.98 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.008924, allocations: 8 kB / 0.8237 GB, free: 13.38 MB / 0.8073 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 4.954e-05/0.008974, allocations: 109.8 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.008987, allocations: 8 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.009016, allocations: 12.44 kB / 0.8239 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009017, allocations: 4 kB / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.009019, allocations: 3.938 kB / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009022, allocations: 0 / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.009416, allocations: 304.3 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009417, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.009559, allocations: 39.95 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.009576, allocations: 19.86 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009579, allocations: 0.75 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.009589, allocations: 4.062 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.009593, allocations: 4 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009594, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.009763, allocations: 177.2 kB / 0.8244 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.009785, allocations: 7.938 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.009909, allocations: 23.97 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.009944, allocations: 11.98 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.009956, allocations: 7.984 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.078e-05/0.009977, allocations: 12.86 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009977, allocations: 0 / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002506/0.01023, allocations: 39.86 kB / 0.8245 GB, free: 12.54 MB / 0.8073 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.0001678/0.0104, allocations: 116.2 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01053, allocations: 53.23 kB / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01054, allocations: 0 / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.0106, allocations: 49.05 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.01079, allocations: 21.23 kB / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.01137, allocations: 266 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.01141, allocations: 59.36 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.01149, allocations: 24.66 kB / 0.825 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.0116, allocations: 63.36 kB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.0116, allocations: 0 / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.003279/0.01488, allocations: 1.967 MB / 0.827 GB, free: 9.883 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized/Buildings_latest_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: 5.2366498950868845]