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.001535/0.001535, allocations: 107.9 kB / 16.92 MB, free: 5.766 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.001744/0.001744, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.306/1.306, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009619/0.000962, allocations: 46.67 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08529, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002498/0.08783, allocations: 1.357 MB / 351.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2885/0.3763, allocations: 148.7 MB / 0.4885 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.3764, allocations: 0 / 0.4885 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.3765, allocations: 7.922 kB / 0.4885 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007931/0.3773, allocations: 233 kB / 0.4887 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.3782, allocations: 396.3 kB / 0.4891 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.3783, allocations: 67.64 kB / 0.4892 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.3783, allocations: 7.938 kB / 0.4892 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.3784, allocations: 19.94 kB / 0.4892 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.3785, allocations: 35.89 kB / 0.4892 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3785, allocations: 0 / 0.4892 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3796, allocations: 0.6229 MB / 0.4899 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.3796, allocations: 7.969 kB / 0.4899 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.3797, allocations: 23.88 kB / 0.4899 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.3804, allocations: 0.4911 MB / 0.4904 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.3805, allocations: 0 / 0.4904 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3805, allocations: 0 / 0.4904 GB, free: 12.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3805, allocations: 6.625 kB / 0.4904 GB, free: 12.63 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.0005081/0.381, allocations: 416 kB / 0.4908 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.381, allocations: 8.031 kB / 0.4908 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3811, allocations: 42.73 kB / 0.4908 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3821, allocations: 93.23 kB / 0.4909 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3824, allocations: 231.7 kB / 0.4911 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3824, allocations: 0 / 0.4911 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3825, allocations: 4 kB / 0.4911 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3827, allocations: 91.27 kB / 0.4912 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3827, allocations: 0 / 0.4912 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3827, allocations: 4 kB / 0.4912 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3827, allocations: 4 kB / 0.4912 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.3829, allocations: 39.95 kB / 0.4913 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3832, allocations: 214.9 kB / 0.4915 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.3839, allocations: 125.1 kB / 0.4916 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.3842, allocations: 41.77 kB / 0.4916 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/0.3851, allocations: 0.9823 MB / 0.4926 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3851, allocations: 38.5 kB / 0.4926 GB, free: 9.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3852, allocations: 0 / 0.4926 GB, free: 9.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007139/0.3859, allocations: 133.4 kB / 0.4928 GB, free: 9.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.386, allocations: 81.09 kB / 0.4928 GB, free: 9.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.3863, allocations: 157.8 kB / 0.493 GB, free: 9.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3863, allocations: 25.7 kB / 0.493 GB, free: 9.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.3864, allocations: 92.14 kB / 0.4931 GB, free: 9.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3864, allocations: 19.64 kB / 0.4931 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3865, allocations: 29.7 kB / 0.4931 GB, free: 9.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3867, allocations: 326.8 kB / 0.4935 GB, free: 9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3868, allocations: 24.84 kB / 0.4935 GB, free: 8.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.387, allocations: 56.44 kB / 0.4935 GB, free: 8.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3873, allocations: 87.7 kB / 0.4936 GB, free: 8.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3874, allocations: 0 / 0.4936 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005044/0.3879, allocations: 117.5 kB / 0.4937 GB, free: 8.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3879, allocations: 10.81 kB / 0.4937 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3879, allocations: 0 / 0.4937 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3879, allocations: 0 / 0.4937 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3881, allocations: 34.53 kB / 0.4938 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3881, allocations: 0 / 0.4938 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3884, allocations: 7.906 kB / 0.4938 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3884, allocations: 15.98 kB / 0.4938 GB, free: 8.629 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 0.0001054/0.3886, allocations: 121.7 kB / 0.4939 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.3886, allocations: 4 kB / 0.4939 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/0.3894, allocations: 242.7 kB / 0.4941 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3894, allocations: 0 / 0.4941 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3895, allocations: 4 kB / 0.4941 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3895, allocations: 4 kB / 0.4941 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3897, allocations: 218.9 kB / 0.4944 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3897, allocations: 4 kB / 0.4944 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.39, allocations: 19.97 kB / 0.4944 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.39, allocations: 0 / 0.4944 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.39, allocations: 4 kB / 0.4944 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.39, allocations: 4 kB / 0.4944 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3901, allocations: 0 / 0.4944 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.3906, allocations: 177.7 kB / 0.4946 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.3907, allocations: 89.75 kB / 0.4946 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3908, allocations: 7.984 kB / 0.4947 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.391, allocations: 4 kB / 0.4947 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3911, allocations: 7.984 kB / 0.4947 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3911, allocations: 5.188 kB / 0.4947 GB, free: 7.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3914, allocations: 136.2 kB / 0.4948 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3914, allocations: 0 / 0.4948 GB, free: 7.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006653/0.392, allocations: 127.9 kB / 0.4949 GB, free: 7.375 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.001629/0.3937, allocations: 0.9291 MB / 0.4958 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.3941, allocations: 83.8 kB / 0.4959 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3941, allocations: 4 kB / 0.4959 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3943, allocations: 36.98 kB / 0.4959 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.3946, allocations: 13.31 kB / 0.496 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.398, allocations: 1.789 MB / 0.4977 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3983, allocations: 0.6922 MB / 0.4984 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008451/0.3992, allocations: 427.2 kB / 0.4988 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3994, allocations: 55.38 kB / 0.4988 GB, free: 3.203 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3994, allocations: 0 / 0.4988 GB, free: 3.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4243, allocations: 6.568 MB / 0.5053 GB, free: 12.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 6 kB / 0.5053 GB, free: 12.73 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