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.001038/0.001038, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002386, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009848/0.0009848, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002247, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09238/1.102, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.851/1.851, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5432/2.394, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.292e-06/1.292e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.713e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001388/0.001405, allocations: 0.7012 MB / 0.7301 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.002818, allocations: 1.492 MB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.002842, allocations: 0 / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.979e-06/0.002847, allocations: 0 / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.002881, allocations: 11.11 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.003141, allocations: 115.8 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.68e-05/0.003208, allocations: 29.53 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.003248, allocations: 4 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.003328, allocations: 23.7 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.003387, allocations: 14.16 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.003402, allocations: 4.688 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.003675, allocations: 266.3 kB / 0.732 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.003688, allocations: 5.719 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.003704, allocations: 7.938 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.003905, allocations: 163.7 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.003917, allocations: 0 / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003918, allocations: 0.8125 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.00393, allocations: 0 / 0.7322 GB, free: 1.684 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.0003845/0.004314, allocations: 289.3 kB / 0.7324 GB, free: 1.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.004348, allocations: 8.031 kB / 0.7324 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.004591, allocations: 132.3 kB / 0.7326 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.004684, allocations: 113.7 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.004698, allocations: 5.375 kB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.004712, allocations: 384 / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.004849, allocations: 72.58 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.004858, allocations: 192 / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.004865, allocations: 1.094 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.00487, allocations: 3.938 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.004907, allocations: 16.52 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.56e-05/0.004992, allocations: 65.98 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.005066, allocations: 38.5 kB / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.005087, allocations: 21.41 kB / 0.7329 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.005101, allocations: 4.859 kB / 0.7329 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.005122, allocations: 34.75 kB / 0.7329 GB, free: 0.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005122, allocations: 5.438 kB / 0.7329 GB, free: 0.7891 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.0009585/0.006081, allocations: 352.3 kB / 0.7333 GB, free: 460 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.006119, allocations: 59.91 kB / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.006194, allocations: 120.4 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.006211, allocations: 29.7 kB / 0.7335 GB, free: 220 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.006233, allocations: 80.14 kB / 0.7335 GB, free: 136 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.006277, allocations: 39.67 kB / 0.7336 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.00632, allocations: 21.7 kB / 0.7336 GB, free: 68 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.006432, allocations: 316 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.006465, allocations: 19.98 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.006496, allocations: 16.69 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.173e-05/0.006558, allocations: 37.48 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00656, allocations: 0.75 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.735e-05/0.006657, allocations: 70.55 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.006675, allocations: 8 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.006682, allocations: 0 / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006693, allocations: 1.25 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.006838, allocations: 48.86 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006842, allocations: 0 / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.006901, allocations: 25.91 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.006911, allocations: 4 kB / 0.7341 GB, free: 15.52 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 8.623e-05/0.006997, allocations: 108.6 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.007015, allocations: 11.98 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.007064, allocations: 12.44 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007066, allocations: 0 / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00707, allocations: 3.938 kB / 0.7343 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.007075, allocations: 3.938 kB / 0.7343 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.007517, allocations: 301.1 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007519, allocations: 0 / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.007612, allocations: 41.33 kB / 0.7346 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.007628, allocations: 12.42 kB / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.00763, allocations: 0 / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.007642, allocations: 8.797 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007644, allocations: 0 / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.007647, allocations: 4.469 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.007783, allocations: 175.5 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.007801, allocations: 7.938 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.007879, allocations: 30.34 kB / 0.7348 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.007927, allocations: 11.98 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.007932, allocations: 0 / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.794e-05/0.00795, allocations: 16.84 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00795, allocations: 0 / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001767/0.008127, allocations: 39.88 kB / 0.7349 GB, free: 14.69 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.000159/0.008286, allocations: 114.3 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.00842, allocations: 56.77 kB / 0.735 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.008427, allocations: 0 / 0.735 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.008473, allocations: 38.86 kB / 0.7351 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.008605, allocations: 12 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.009065, allocations: 265.5 kB / 0.7353 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009105, allocations: 67.3 kB / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.009167, allocations: 28.34 kB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.009242, allocations: 59.36 kB / 0.7355 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.009243, allocations: 0 / 0.7355 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.003729/0.01297, allocations: 1.937 MB / 0.7374 GB, free: 12.17 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8972394010052085]