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.001497/0.001497, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001643/0.001643, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.418/1.418, allocations: 230.4 MB / 255.4 MB, free: 14.8 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.002047/0.002047, allocations: 71.83 kB / 374.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1023, allocations: 53.31 MB / 428 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002628/0.1049, allocations: 1.391 MB / 429.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3834/0.4883, allocations: 152 MB / 0.5678 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.4884, allocations: 0 / 0.5678 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.4884, allocations: 0 / 0.5678 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.4895, allocations: 253 kB / 0.5681 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4908, allocations: 396.8 kB / 0.5685 GB, free: 6.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.4909, allocations: 51.73 kB / 0.5685 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.491, allocations: 7.984 kB / 0.5685 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.491, allocations: 19.92 kB / 0.5685 GB, free: 6.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.4911, allocations: 27.91 kB / 0.5686 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4911, allocations: 0 / 0.5686 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.4928, allocations: 0.7056 MB / 0.5692 GB, free: 5.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.4928, allocations: 4 kB / 0.5693 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.4928, allocations: 23.86 kB / 0.5693 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.494, allocations: 0.4886 MB / 0.5698 GB, free: 4.965 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.494, allocations: 0 / 0.5698 GB, free: 4.965 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.494, allocations: 0 / 0.5698 GB, free: 4.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.494, allocations: 0 / 0.5698 GB, free: 4.965 MB / 478.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.0007048/0.4947, allocations: 438.5 kB / 0.5702 GB, free: 4.488 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4948, allocations: 12.03 kB / 0.5702 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.4961, allocations: 108.8 kB / 0.5703 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.4965, allocations: 223.8 kB / 0.5705 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4965, allocations: 0 / 0.5705 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.4965, allocations: 4 kB / 0.5705 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4968, allocations: 96.44 kB / 0.5706 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4968, allocations: 0 / 0.5706 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4968, allocations: 4 kB / 0.5706 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4968, allocations: 4 kB / 0.5706 GB, free: 3.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.497, allocations: 47.83 kB / 0.5706 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.4973, allocations: 206.9 kB / 0.5708 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.4978, allocations: 129.1 kB / 0.571 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4979, allocations: 33.77 kB / 0.571 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.4988, allocations: 0.9901 MB / 0.572 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4988, allocations: 34.56 kB / 0.572 GB, free: 2.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4988, allocations: 4 kB / 0.572 GB, free: 2.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005334/0.4994, allocations: 129.5 kB / 0.5721 GB, free: 2.121 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.4994, allocations: 81.11 kB / 0.5722 GB, free: 2.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4997, allocations: 157.8 kB / 0.5724 GB, free: 1.859 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4997, allocations: 29.64 kB / 0.5724 GB, free: 1.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.4998, allocations: 84.14 kB / 0.5725 GB, free: 1.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.4998, allocations: 19.84 kB / 0.5725 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.4999, allocations: 33.7 kB / 0.5725 GB, free: 1.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5, allocations: 322.8 kB / 0.5728 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.5002, allocations: 27.97 kB / 0.5729 GB, free: 1.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.5003, allocations: 51.41 kB / 0.5729 GB, free: 1.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.5005, allocations: 85.72 kB / 0.573 GB, free: 1.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5005, allocations: 0 / 0.573 GB, free: 1.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000386/0.5009, allocations: 125.8 kB / 0.5731 GB, free: 1.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5009, allocations: 4 kB / 0.5731 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5009, allocations: 4 kB / 0.5731 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.501, allocations: 96 / 0.5731 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5011, allocations: 36.02 kB / 0.5731 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5011, allocations: 0 / 0.5731 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5013, allocations: 7.938 kB / 0.5732 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.5013, allocations: 11.98 kB / 0.5732 GB, free: 0.9805 MB / 478.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 0.0001138/0.5014, allocations: 117.7 kB / 0.5733 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.5015, allocations: 7.953 kB / 0.5733 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/0.5021, allocations: 236.4 kB / 0.5735 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5021, allocations: 0 / 0.5735 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5021, allocations: 0 / 0.5735 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5021, allocations: 0 / 0.5735 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.5024, allocations: 222.9 kB / 0.5737 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5024, allocations: 0 / 0.5737 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.5025, allocations: 20.84 kB / 0.5737 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5025, allocations: 4 kB / 0.5737 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5026, allocations: 4 kB / 0.5737 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5026, allocations: 0 / 0.5737 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5026, allocations: 7.938 kB / 0.5738 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.503, allocations: 173.8 kB / 0.5739 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.5031, allocations: 97.02 kB / 0.574 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.5032, allocations: 4.797 kB / 0.574 GB, free: 0 / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5033, allocations: 12.09 kB / 0.574 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.5034, allocations: 15.86 kB / 0.574 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.5034, allocations: 4 kB / 0.574 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.5036, allocations: 130.3 kB / 0.5742 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5036, allocations: 0 / 0.5742 GB, free: 15.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000545/0.5041, allocations: 131.6 kB / 0.5743 GB, free: 15.71 MB / 494.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.000812/0.5049, allocations: 333.3 kB / 0.5746 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.5053, allocations: 71.88 kB / 0.5747 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5053, allocations: 4 kB / 0.5747 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5054, allocations: 35.92 kB / 0.5747 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5056, allocations: 19.16 kB / 0.5747 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.5063, allocations: 325.8 kB / 0.5751 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5067, allocations: 0.6924 MB / 0.5757 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.5068, allocations: 43.39 kB / 0.5758 GB, free: 14.16 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5068, allocations: 0 / 0.5758 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Templates: time 0.007577/0.5144, allocations: 4.195 MB / 0.5799 GB, free: 9.973 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.5809461700264364]