Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001155/0.001155, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.003062, 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.001107/0.001107, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002599, 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.987/0.987, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.094/1.081, 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.917/1.917, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4875/2.404, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.466e-06/9.638e-06, allocations: 2.812 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001681/0.00169, allocations: 1.563 MB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.002577, allocations: 0.7932 MB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.002601, allocations: 0 / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.002624, allocations: 3.938 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.002648, allocations: 5.969 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.002908, allocations: 128.3 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.00298, allocations: 33.89 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.003046, allocations: 1.719 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.003119, allocations: 29.28 kB / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.003176, allocations: 16.97 kB / 0.7322 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003191, allocations: 0 / 0.7322 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.003476, allocations: 263.7 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.003493, allocations: 4 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.003514, allocations: 4.5 kB / 0.7324 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.003744, allocations: 171.6 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.003756, allocations: 5.75 kB / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003757, allocations: 0 / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.00377, allocations: 0 / 0.7326 GB, free: 1.434 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000386/0.004156, allocations: 284.2 kB / 0.7329 GB, free: 1.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004189, allocations: 9.219 kB / 0.7329 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.004435, allocations: 131.7 kB / 0.733 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.004515, allocations: 106.4 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004526, allocations: 4.906 kB / 0.7331 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004536, allocations: 4.375 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004658, allocations: 72.44 kB / 0.7332 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.004663, allocations: 0.875 kB / 0.7332 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.00467, allocations: 384 / 0.7332 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.004674, allocations: 4.562 kB / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.004707, allocations: 13.03 kB / 0.7332 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.00495, allocations: 169.2 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/0.005037, allocations: 43.72 kB / 0.7334 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.005054, allocations: 8.922 kB / 0.7334 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005065, allocations: 0.9375 kB / 0.7334 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.005087, allocations: 38.48 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.005087, allocations: 1.688 kB / 0.7335 GB, free: 472 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001203/0.005208, allocations: 49.58 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005236, allocations: 51.41 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.00529, allocations: 107.6 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.0053, allocations: 25.7 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.005329, allocations: 85.19 kB / 0.7338 GB, free: 112 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.005346, allocations: 3.953 kB / 0.7338 GB, free: 108 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.005372, allocations: 17.7 kB / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.005464, allocations: 316.1 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.005478, allocations: 0 / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.005491, allocations: 4 kB / 0.7341 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.005521, allocations: 18 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005523, allocations: 4 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.466e-05/0.005577, allocations: 46.92 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005589, allocations: 4 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005594, allocations: 1.031 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005606, allocations: 3.938 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.005692, allocations: 16.52 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005694, allocations: 1.562 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.005726, allocations: 12.23 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.005731, allocations: 0 / 0.7342 GB, free: 15.65 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 (2): * Single equations (assignments): 2 * 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 5.189e-05/0.005783, allocations: 107.1 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.005798, allocations: 4 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.005829, allocations: 11.3 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.005831, allocations: 4.438 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.005833, allocations: 0.75 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005836, allocations: 0 / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.998e-05/0.005926, allocations: 82.58 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005927, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.005968, allocations: 20.73 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.005972, allocations: 1.375 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005973, allocations: 0 / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.005978, allocations: 0 / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.005981, allocations: 3.938 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005982, allocations: 1.031 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.413e-05/0.006066, allocations: 135.5 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006076, allocations: 4.922 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.006119, allocations: 8.625 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.006147, allocations: 7.922 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.00615, allocations: 6.75 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.243e-05/0.006163, allocations: 8.859 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006163, allocations: 4 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001206/0.006283, allocations: 11.94 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001045/0.006388, allocations: 96.27 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.006455, allocations: 23.88 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.006459, allocations: 0 / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.006486, allocations: 12.86 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.006646, allocations: 65.22 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.006997, allocations: 122.4 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.007029, allocations: 59.34 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.00707, allocations: 8.812 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.007126, allocations: 53.81 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.007127, allocations: 0 / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.002403/0.009529, allocations: 0.9251 MB / 0.7359 GB, free: 13.81 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized/Buildings_12_Buildings.Utilities.Math.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.815529393032193]