Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.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.0008274/0.0008274, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001908, 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.0007/0.0007, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001607, 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.9261/0.9261, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08631/1.012, allocations: 53.66 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.887/1.887, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4727/2.359, 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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.741e-05, allocations: 5.406 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001854/0.001872, allocations: 1.551 MB / 0.7312 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.002025, allocations: 99.06 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.002049, allocations: 4 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.00209, allocations: 0 / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.002115, allocations: 6.016 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.00226, allocations: 11.98 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.002324, allocations: 28.69 kB / 0.7313 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.232e-05/0.002386, allocations: 8.859 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.002431, allocations: 17.08 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.002476, allocations: 14.45 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.002488, allocations: 4.812 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.002573, allocations: 15.92 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.002611, allocations: 9.625 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.302e-05/0.002624, allocations: 6.062 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002724, allocations: 34.09 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.002734, allocations: 0 / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002735, allocations: 1.297 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.002745, allocations: 0 / 0.7314 GB, free: 2.629 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.0004708/0.003216, allocations: 245.9 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.003246, allocations: 8.031 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.003272, allocations: 4.938 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.003349, allocations: 103 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.003355, allocations: 5.25 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.003365, allocations: 4.375 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.003463, allocations: 58.27 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-06/0.003468, allocations: 1.781 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.003474, allocations: 384 / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003478, allocations: 4.312 kB / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.003499, allocations: 11.94 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.003691, allocations: 154.6 kB / 0.732 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.003739, allocations: 67.61 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.003753, allocations: 8.922 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.003785, allocations: 0 / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.003805, allocations: 42.5 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003806, allocations: 1.438 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.434e-05/0.0039, allocations: 37.73 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.003925, allocations: 55.34 kB / 0.7322 GB, free: 1.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.003976, allocations: 111.2 kB / 0.7323 GB, free: 1.602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.003985, allocations: 27.05 kB / 0.7323 GB, free: 1.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.004012, allocations: 85.62 kB / 0.7324 GB, free: 1.484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.004027, allocations: 7.891 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.00405, allocations: 17.72 kB / 0.7324 GB, free: 1.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.004116, allocations: 319.5 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.004124, allocations: 6.828 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.004131, allocations: 1.125 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.00415, allocations: 16.59 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004152, allocations: 4 kB / 0.7328 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.916e-05/0.004191, allocations: 34.47 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004203, allocations: 8 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.004206, allocations: 0.625 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.004216, allocations: 0 / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.004276, allocations: 8.844 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.00428, allocations: 3.984 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.004296, allocations: 10.25 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.0043, allocations: 0 / 0.7328 GB, free: 1.035 MB / 0.698 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 4.691e-05/0.004347, allocations: 108.7 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.004359, allocations: 7.938 kB / 0.733 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.00442, allocations: 43.44 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.004423, allocations: 4.766 kB / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.004425, allocations: 3.938 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004427, allocations: 0 / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.548e-05/0.004502, allocations: 73.88 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004503, allocations: 1.344 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.004522, allocations: 4.25 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.004527, allocations: 4 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004528, allocations: 0.7656 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.004533, allocations: 9.234 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004534, allocations: 0 / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.004536, allocations: 3.938 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.241e-05/0.004608, allocations: 179.5 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.004618, allocations: 3.984 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.676e-05/0.004644, allocations: 4 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.00467, allocations: 5.406 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.004672, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.404e-05/0.004686, allocations: 17.31 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004686, allocations: 0.875 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001245/0.004811, allocations: 8 kB / 0.7333 GB, free: 0.5117 MB / 0.698 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 9.269e-05/0.004903, allocations: 82.25 kB / 0.7334 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.004955, allocations: 14.06 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.004959, allocations: 0.9844 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.004978, allocations: 16.84 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.005116, allocations: 38.3 kB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.005439, allocations: 124.7 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.005469, allocations: 55.36 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.546e-05/0.005484, allocations: 0.6562 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.005521, allocations: 52.44 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/0.005522, allocations: 0 / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of Templates: time 0.001996/0.007518, allocations: 0.5849 MB / 0.7342 GB, free: 15.52 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.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.722099067643285]