Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 114.4 kB / 16.63 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009803, allocations: 47.17 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09116, allocations: 49.44 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002363/0.09356, allocations: 1.429 MB / 351.1 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3066/0.4002, allocations: 146.6 MB / 497.7 MB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.4003, allocations: 0 / 497.7 MB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.4004, allocations: 7.938 kB / 497.7 MB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.4012, allocations: 205.1 kB / 497.9 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.4021, allocations: 365.7 kB / 498.2 MB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.4021, allocations: 51.73 kB / 498.3 MB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.4022, allocations: 11.92 kB / 498.3 MB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.4022, allocations: 23.86 kB / 498.3 MB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.4023, allocations: 31.91 kB / 498.4 MB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4023, allocations: 4 kB / 498.4 MB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009293/0.4033, allocations: 0.6316 MB / 499 MB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.4033, allocations: 15.92 kB / 499 MB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.4033, allocations: 23.86 kB / 499 MB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.404, allocations: 0.4912 MB / 499.5 MB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.404, allocations: 3.938 kB / 499.5 MB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.404, allocations: 0 / 499.5 MB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.404, allocations: 0 / 499.5 MB, free: 15.18 MB / 414.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.0005061/0.4045, allocations: 432 kB / 500 MB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4046, allocations: 12.02 kB / 500 MB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.4046, allocations: 34.75 kB / 0.4883 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4058, allocations: 89.3 kB / 0.4884 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.406, allocations: 223.8 kB / 0.4886 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.406, allocations: 4 kB / 0.4886 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4061, allocations: 4 kB / 0.4886 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4063, allocations: 92.2 kB / 0.4887 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4063, allocations: 3.938 kB / 0.4887 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4063, allocations: 3.984 kB / 0.4887 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4063, allocations: 0 / 0.4887 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4065, allocations: 47.95 kB / 0.4887 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.4068, allocations: 210.9 kB / 0.4889 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.4072, allocations: 125.1 kB / 0.4891 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4074, allocations: 49.12 kB / 0.4891 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.4079, allocations: 0.9784 MB / 0.4901 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.408, allocations: 46.55 kB / 0.4901 GB, free: 12.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.408, allocations: 0 / 0.4901 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004679/0.4085, allocations: 129.5 kB / 0.4902 GB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4085, allocations: 81.09 kB / 0.4903 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4087, allocations: 153.8 kB / 0.4904 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4087, allocations: 29.7 kB / 0.4905 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.4088, allocations: 80.14 kB / 0.4905 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.4088, allocations: 31.62 kB / 0.4906 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.4089, allocations: 33.69 kB / 0.4906 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.409, allocations: 322.7 kB / 0.4909 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4091, allocations: 27.97 kB / 0.4909 GB, free: 11.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4092, allocations: 55.41 kB / 0.491 GB, free: 11.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4095, allocations: 79.34 kB / 0.4911 GB, free: 11.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4095, allocations: 0 / 0.4911 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003337/0.4098, allocations: 117.5 kB / 0.4912 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4098, allocations: 12 kB / 0.4912 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4098, allocations: 4.469 kB / 0.4912 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4099, allocations: 0 / 0.4912 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.41, allocations: 27.97 kB / 0.4912 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.41, allocations: 3.938 kB / 0.4912 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.4102, allocations: 7.906 kB / 0.4912 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4103, allocations: 11.98 kB / 0.4913 GB, free: 11.16 MB / 414.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 7.885e-05/0.4103, allocations: 113.8 kB / 0.4914 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.4104, allocations: 4 kB / 0.4914 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.411, allocations: 246.7 kB / 0.4916 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.411, allocations: 0 / 0.4916 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.411, allocations: 0 / 0.4916 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.411, allocations: 0 / 0.4916 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.4112, allocations: 222.9 kB / 0.4918 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4112, allocations: 0 / 0.4918 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4114, allocations: 23.91 kB / 0.4918 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4114, allocations: 4 kB / 0.4918 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4114, allocations: 0 / 0.4918 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4114, allocations: 0 / 0.4918 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4114, allocations: 7.938 kB / 0.4918 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4119, allocations: 185.6 kB / 0.492 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.4119, allocations: 93.11 kB / 0.4921 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.412, allocations: 0 / 0.4921 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.4122, allocations: 4 kB / 0.4921 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.4122, allocations: 11.98 kB / 0.4921 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4122, allocations: 4 kB / 0.4921 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4124, allocations: 127.2 kB / 0.4923 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4124, allocations: 4.062 kB / 0.4923 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000467/0.4129, allocations: 139.8 kB / 0.4924 GB, free: 9.902 MB / 414.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.001246/0.4141, allocations: 0.921 MB / 0.4933 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4144, allocations: 79.86 kB / 0.4934 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4144, allocations: 0 / 0.4934 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4146, allocations: 39.92 kB / 0.4934 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4148, allocations: 17.05 kB / 0.4934 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.4172, allocations: 1.788 MB / 0.4952 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4174, allocations: 0.6961 MB / 0.4958 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005611/0.418, allocations: 431.1 kB / 0.4963 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4182, allocations: 55.38 kB / 0.4963 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4182, allocations: 3.938 kB / 0.4963 GB, free: 5.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.4376, allocations: 6.463 MB / 0.5026 GB, free: 15.41 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.4378, allocations: 256.6 kB / 0.5029 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.402, allocations: 0 / 0.5029 GB, free: 15.11 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches