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.00115/0.00115, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001142/0.001142, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.378/1.378, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 46.33 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09364, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002523/0.09621, allocations: 1.361 MB / 351.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3232/0.4195, allocations: 148.7 MB / 0.4885 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.4196, allocations: 0 / 0.4885 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.4196, allocations: 11.92 kB / 0.4885 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.4204, allocations: 229 kB / 0.4888 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009298/0.4214, allocations: 401.4 kB / 0.4891 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.4215, allocations: 55.72 kB / 0.4892 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.4215, allocations: 7.938 kB / 0.4892 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.4216, allocations: 23.92 kB / 0.4892 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.4217, allocations: 35.89 kB / 0.4893 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.4217, allocations: 0 / 0.4893 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4228, allocations: 0.6238 MB / 0.4899 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4228, allocations: 11.94 kB / 0.4899 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.4229, allocations: 15.92 kB / 0.4899 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.4236, allocations: 0.4911 MB / 0.4904 GB, free: 12.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4237, allocations: 0 / 0.4904 GB, free: 12.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4237, allocations: 0 / 0.4904 GB, free: 12.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.4237, allocations: 0 / 0.4904 GB, free: 12.61 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.0005162/0.4242, allocations: 428 kB / 0.4908 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4242, allocations: 15.97 kB / 0.4908 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.4243, allocations: 30.75 kB / 0.4908 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4253, allocations: 93.3 kB / 0.4909 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.4256, allocations: 219.8 kB / 0.4911 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4256, allocations: 4 kB / 0.4911 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4257, allocations: 8 kB / 0.4911 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.4259, allocations: 91.27 kB / 0.4912 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4259, allocations: 0 / 0.4912 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.426, allocations: 9.203 kB / 0.4912 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.426, allocations: 0 / 0.4912 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.4261, allocations: 40.83 kB / 0.4913 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.4264, allocations: 222.9 kB / 0.4915 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.4269, allocations: 121.1 kB / 0.4916 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.427, allocations: 37.75 kB / 0.4916 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.4276, allocations: 0.9862 MB / 0.4926 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4277, allocations: 46.48 kB / 0.4926 GB, free: 9.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4277, allocations: 0 / 0.4926 GB, free: 9.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004755/0.4282, allocations: 129.5 kB / 0.4928 GB, free: 9.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.4282, allocations: 85.05 kB / 0.4928 GB, free: 9.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.4284, allocations: 145.8 kB / 0.493 GB, free: 9.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4285, allocations: 29.7 kB / 0.493 GB, free: 9.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.4285, allocations: 96.08 kB / 0.4931 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.4286, allocations: 27.64 kB / 0.4931 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.4286, allocations: 29.69 kB / 0.4932 GB, free: 9.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4287, allocations: 318.8 kB / 0.4935 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.4288, allocations: 27.97 kB / 0.4935 GB, free: 8.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.429, allocations: 55.41 kB / 0.4935 GB, free: 8.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.4292, allocations: 79.34 kB / 0.4936 GB, free: 8.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4292, allocations: 3.188 kB / 0.4936 GB, free: 8.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003405/0.4296, allocations: 122 kB / 0.4937 GB, free: 8.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4296, allocations: 4.062 kB / 0.4937 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4296, allocations: 4 kB / 0.4937 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4296, allocations: 4 kB / 0.4937 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4298, allocations: 23.91 kB / 0.4938 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4298, allocations: 4 kB / 0.4938 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.43, allocations: 15.84 kB / 0.4938 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.43, allocations: 7.984 kB / 0.4938 GB, free: 8.602 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 8.494e-05/0.4301, allocations: 113.8 kB / 0.4939 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.4302, allocations: 4 kB / 0.4939 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.4308, allocations: 250.7 kB / 0.4941 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4308, allocations: 4 kB / 0.4942 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4308, allocations: 0 / 0.4942 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4308, allocations: 0 / 0.4942 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.431, allocations: 218.9 kB / 0.4944 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.431, allocations: 0 / 0.4944 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.4312, allocations: 23.97 kB / 0.4944 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4312, allocations: 0 / 0.4944 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4312, allocations: 4 kB / 0.4944 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4312, allocations: 0 / 0.4944 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4313, allocations: 0 / 0.4944 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.4317, allocations: 189.7 kB / 0.4946 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.4318, allocations: 93.11 kB / 0.4947 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.4318, allocations: 1.188 kB / 0.4947 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.432, allocations: 4 kB / 0.4947 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.432, allocations: 7.984 kB / 0.4947 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.432, allocations: 0 / 0.4947 GB, free: 7.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4322, allocations: 135.2 kB / 0.4948 GB, free: 7.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4322, allocations: 4.062 kB / 0.4948 GB, free: 7.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.4327, allocations: 139.8 kB / 0.4949 GB, free: 7.336 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.001308/0.434, allocations: 0.9201 MB / 0.4958 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.4343, allocations: 79.81 kB / 0.4959 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4343, allocations: 0 / 0.4959 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4345, allocations: 35.98 kB / 0.4959 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.4347, allocations: 20.3 kB / 0.496 GB, free: 6.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.4372, allocations: 1.784 MB / 0.4977 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4375, allocations: 0.7 MB / 0.4984 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005775/0.4381, allocations: 420.7 kB / 0.4988 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4382, allocations: 51.38 kB / 0.4988 GB, free: 3.184 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4382, allocations: 0 / 0.4988 GB, free: 3.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/0.7453, allocations: 6.574 MB / 0.5053 GB, free: 12.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/9.888, allocations: 6.406 kB / 0.5053 GB, free: 12.7 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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