Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00176/0.00176, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.77 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2304, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002897/0.2333, allocations: 1.391 MB / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4031/0.6363, allocations: 152.1 MB / 0.5721 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.6364, allocations: 1.203 kB / 0.5721 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.6364, allocations: 9.812 kB / 0.5721 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.6372, allocations: 242.7 kB / 0.5724 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/0.6381, allocations: 413.2 kB / 0.5728 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.6382, allocations: 57.84 kB / 0.5728 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.6382, allocations: 0 / 0.5728 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.6383, allocations: 31.94 kB / 0.5728 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.6383, allocations: 29.88 kB / 0.5729 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.6384, allocations: 6.594 kB / 0.5729 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.6393, allocations: 0.7031 MB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.6394, allocations: 11.61 kB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.6394, allocations: 23.36 kB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.64, allocations: 0.4946 MB / 0.5741 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.64, allocations: 0 / 0.5741 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.64, allocations: 0 / 0.5741 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.64, allocations: 0 / 0.5741 GB, free: 12.86 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005544/0.6406, allocations: 360.5 kB / 0.5744 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6406, allocations: 12 kB / 0.5744 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.6419, allocations: 106.4 kB / 0.5745 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.6422, allocations: 160.1 kB / 0.5747 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.6422, allocations: 7.281 kB / 0.5747 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.6422, allocations: 0 / 0.5747 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6424, allocations: 99.61 kB / 0.5748 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6424, allocations: 0 / 0.5748 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6425, allocations: 3.562 kB / 0.5748 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.6425, allocations: 0 / 0.5748 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.6426, allocations: 46.55 kB / 0.5748 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.6429, allocations: 184.1 kB / 0.575 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.6433, allocations: 132.5 kB / 0.5751 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.6434, allocations: 36.39 kB / 0.5752 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.6437, allocations: 95.22 kB / 0.5753 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.6437, allocations: 34.56 kB / 0.5753 GB, free: 12.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.6437, allocations: 3.797 kB / 0.5753 GB, free: 12.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004477/0.6441, allocations: 130 kB / 0.5754 GB, free: 12.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.6442, allocations: 84.92 kB / 0.5755 GB, free: 11.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.6444, allocations: 155.4 kB / 0.5757 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.6444, allocations: 25.7 kB / 0.5757 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.6445, allocations: 86.11 kB / 0.5758 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.6445, allocations: 22.92 kB / 0.5758 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.6446, allocations: 31.62 kB / 0.5758 GB, free: 11.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6447, allocations: 320 kB / 0.5761 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.6448, allocations: 26.3 kB / 0.5761 GB, free: 11.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6449, allocations: 51.97 kB / 0.5762 GB, free: 11.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.6451, allocations: 91.48 kB / 0.5763 GB, free: 11.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6451, allocations: 0 / 0.5763 GB, free: 11.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000309/0.6454, allocations: 122.1 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6455, allocations: 5.25 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6455, allocations: 2.719 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6455, allocations: 4.062 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6456, allocations: 29.47 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6456, allocations: 4.75 kB / 0.5764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.6458, allocations: 6 kB / 0.5765 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.6458, allocations: 14.61 kB / 0.5765 GB, free: 11.24 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.354e-05/0.6459, allocations: 112.1 kB / 0.5766 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.646, allocations: 7.609 kB / 0.5766 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.6465, allocations: 251.4 kB / 0.5768 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6465, allocations: 3.938 kB / 0.5768 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6465, allocations: 2.438 kB / 0.5768 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6465, allocations: 2.484 kB / 0.5768 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.6467, allocations: 198.4 kB / 0.577 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6467, allocations: 3.094 kB / 0.577 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6469, allocations: 20.38 kB / 0.577 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6469, allocations: 5.188 kB / 0.577 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.6469, allocations: 3.188 kB / 0.577 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6469, allocations: 4.016 kB / 0.5771 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6469, allocations: 3.938 kB / 0.5771 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.6473, allocations: 179.7 kB / 0.5772 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.6474, allocations: 20.7 kB / 0.5772 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.6474, allocations: 2.438 kB / 0.5772 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.6476, allocations: 6.344 kB / 0.5773 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.6476, allocations: 9.125 kB / 0.5773 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.6476, allocations: 4.188 kB / 0.5773 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.6478, allocations: 129.7 kB / 0.5774 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6478, allocations: 1.203 kB / 0.5774 GB, free: 10.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004919/0.6483, allocations: 131.6 kB / 0.5775 GB, free: 10.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005768/0.6489, allocations: 307 kB / 0.5778 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.6491, allocations: 82.77 kB / 0.5779 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6491, allocations: 0 / 0.5779 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6492, allocations: 37.53 kB / 0.5779 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.6495, allocations: 14.19 kB / 0.5779 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.65, allocations: 298.8 kB / 0.5782 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.6503, allocations: 0.6923 MB / 0.5789 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004632/0.6508, allocations: 438 kB / 0.5793 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.6509, allocations: 37.08 kB / 0.5794 GB, free: 9.586 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6509, allocations: 0 / 0.5794 GB, free: 9.586 MB / 462.1 MB Notification: Performance of Templates: time 0.009009/0.6599, allocations: 5.286 MB / 0.5845 GB, free: 7.398 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.907397990114987]