Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001875/0.003033, 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.001138/0.001138, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002591, 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 0.9932/0.9932, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09486/1.088, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.815/1.815, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4991/2.314, allocations: 123.3 MB / 0.728 GB, free: 5.805 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7294 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.644e-05, allocations: 10.88 kB / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002157/0.002184, allocations: 0.8423 MB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.004179, allocations: 1.513 MB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.004216, allocations: 1.781 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.004246, allocations: 3.938 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.004276, allocations: 1.422 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.004758, allocations: 136.8 kB / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.004864, allocations: 53.23 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.004904, allocations: 7.984 kB / 0.7319 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.005024, allocations: 46.27 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.005085, allocations: 19.95 kB / 0.732 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.005103, allocations: 4 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.005523, allocations: 263.4 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.005545, allocations: 11.94 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.00557, allocations: 8.969 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.005886, allocations: 187.5 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.005904, allocations: 0.8125 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.005906, allocations: 0 / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.005924, allocations: 0.9062 kB / 0.7324 GB, free: 1.391 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005613/0.006486, allocations: 320.1 kB / 0.7327 GB, free: 1.055 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.006523, allocations: 8.906 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.006874, allocations: 145 kB / 0.7329 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.006982, allocations: 109.7 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.007006, allocations: 4.375 kB / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.007035, allocations: 13.06 kB / 0.733 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.007284, allocations: 143.1 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007295, allocations: 4.641 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.007308, allocations: 5.5 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007316, allocations: 7.938 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.007385, allocations: 19.92 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.007774, allocations: 213.4 kB / 0.7334 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.00793, allocations: 71.39 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.007959, allocations: 13.73 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.007974, allocations: 7.938 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.007999, allocations: 34.56 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.008, allocations: 1.781 kB / 0.7335 GB, free: 184 kB / 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=11): time 0.01141/0.01941, allocations: 2.159 MB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.01945, allocations: 51.41 kB / 0.7356 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.01953, allocations: 102.7 kB / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.01957, allocations: 33.7 kB / 0.7358 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.01962, allocations: 84.12 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.01968, allocations: 39.64 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.01984, allocations: 64.31 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01995, allocations: 318.8 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.02013, allocations: 95.92 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.02031, allocations: 95.94 kB / 0.7364 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.02071, allocations: 226.7 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.02071, allocations: 0 / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004894/0.0212, allocations: 245.5 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.02122, allocations: 4 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02123, allocations: 1.062 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.02125, allocations: 0 / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.02184, allocations: 124.7 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.02184, allocations: 4.938 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.02215, allocations: 29.81 kB / 0.737 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.0222, allocations: 27.8 kB / 0.7371 GB, free: 12.45 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 (13): * Single equations (assignments): 13 * 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 0.00014/0.02234, allocations: 122.7 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.02242, allocations: 4 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.02247, allocations: 16.3 kB / 0.7372 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02247, allocations: 8.922 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02247, allocations: 0 / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02248, allocations: 1.094 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.02339, allocations: 462.5 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.02339, allocations: 0.8438 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.02396, allocations: 124.8 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.02407, allocations: 24.53 kB / 0.7378 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02408, allocations: 0 / 0.7378 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.02412, allocations: 21.84 kB / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.02413, allocations: 4 kB / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02413, allocations: 0 / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.02467, allocations: 464.2 kB / 0.7383 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.02471, allocations: 0 / 0.7383 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.02494, allocations: 38.61 kB / 0.7383 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.02499, allocations: 23.92 kB / 0.7383 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.02503, allocations: 19.94 kB / 0.7383 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.338e-05/0.02504, allocations: 8.859 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02504, allocations: 1.094 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002313/0.02527, allocations: 55.92 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001885/0.02546, allocations: 89.8 kB / 0.7385 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.02581, allocations: 245.2 kB / 0.7387 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.02582, allocations: 1.094 kB / 0.7387 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.02598, allocations: 133 kB / 0.7389 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.02619, allocations: 60.61 kB / 0.7389 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.02773, allocations: 0.5645 MB / 0.7395 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.02777, allocations: 64.56 kB / 0.7395 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000338/0.02811, allocations: 95.19 kB / 0.7396 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.02838, allocations: 95.23 kB / 0.7397 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.02838, allocations: 0 / 0.7397 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.005668/0.03404, allocations: 3.886 MB / 0.7435 GB, free: 5.867 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.954472992569208]