Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.001332/0.001332, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.001263/0.001263, allocations: 189.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.301/1.301, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009933/0.0009934, allocations: 45.45 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09094, allocations: 49.44 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00252/0.0935, allocations: 1.426 MB / 351.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3057/0.3993, allocations: 146.9 MB / 498 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.3993, allocations: 4 kB / 498 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3994, allocations: 0 / 498 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4005, allocations: 335.5 kB / 498.3 MB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.4015, allocations: 496.1 kB / 498.8 MB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.4017, allocations: 71.66 kB / 498.9 MB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4017, allocations: 11.92 kB / 498.9 MB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.4018, allocations: 31.86 kB / 498.9 MB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.4019, allocations: 38.61 kB / 499 MB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.4019, allocations: 7.938 kB / 499 MB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.4035, allocations: 1.111 MB / 0.4884 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.4036, allocations: 31.83 kB / 0.4884 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.4036, allocations: 27.88 kB / 0.4884 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.4047, allocations: 0.7599 MB / 0.4892 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4047, allocations: 4 kB / 0.4892 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4047, allocations: 0 / 0.4892 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4047, allocations: 0 / 0.4892 GB, free: 13.95 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.0005707/0.4053, allocations: 459.8 kB / 0.4896 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4054, allocations: 12.03 kB / 0.4896 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.4054, allocations: 34.75 kB / 0.4897 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.4059, allocations: 68.75 kB / 0.4897 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.406, allocations: 188.3 kB / 0.4899 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4061, allocations: 7.938 kB / 0.4899 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4061, allocations: 11.98 kB / 0.4899 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4062, allocations: 71.33 kB / 0.49 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.4063, allocations: 0 / 0.49 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.4063, allocations: 0 / 0.49 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4063, allocations: 4 kB / 0.49 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4064, allocations: 40.84 kB / 0.49 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.4066, allocations: 202.5 kB / 0.4902 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4069, allocations: 113.2 kB / 0.4903 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.407, allocations: 33.7 kB / 0.4904 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.4075, allocations: 137 kB / 0.4905 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.4076, allocations: 38.55 kB / 0.4905 GB, free: 12.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4076, allocations: 0 / 0.4905 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003392/0.4079, allocations: 127.1 kB / 0.4907 GB, free: 12.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.408, allocations: 81.05 kB / 0.4907 GB, free: 12.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4081, allocations: 143.4 kB / 0.4909 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4081, allocations: 29.64 kB / 0.4909 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.4082, allocations: 88.14 kB / 0.491 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4082, allocations: 19.7 kB / 0.491 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4082, allocations: 21.72 kB / 0.491 GB, free: 11.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.4083, allocations: 322.8 kB / 0.4913 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.4084, allocations: 23.98 kB / 0.4914 GB, free: 11.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.4085, allocations: 47.42 kB / 0.4914 GB, free: 11.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.4086, allocations: 87.28 kB / 0.4915 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4087, allocations: 2.812 kB / 0.4915 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002432/0.4089, allocations: 113.5 kB / 0.4916 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4089, allocations: 4 kB / 0.4916 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4089, allocations: 3.938 kB / 0.4916 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.409, allocations: 4 kB / 0.4916 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.409, allocations: 15.94 kB / 0.4916 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.409, allocations: 3.984 kB / 0.4916 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.4091, allocations: 7.938 kB / 0.4916 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4091, allocations: 4.062 kB / 0.4916 GB, free: 11.14 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.896e-05/0.4092, allocations: 117.8 kB / 0.4917 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.4093, allocations: 7.906 kB / 0.4918 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.4095, allocations: 118.4 kB / 0.4919 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4095, allocations: 0 / 0.4919 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4095, allocations: 4 kB / 0.4919 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4096, allocations: 0 / 0.4919 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.4097, allocations: 177.6 kB / 0.492 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4097, allocations: 4 kB / 0.492 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.4098, allocations: 19.98 kB / 0.4921 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.4098, allocations: 0 / 0.4921 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4098, allocations: 0 / 0.4921 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4098, allocations: 0 / 0.4921 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4098, allocations: 7.938 kB / 0.4921 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.4102, allocations: 165.7 kB / 0.4922 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.4102, allocations: 89.27 kB / 0.4923 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4103, allocations: 0 / 0.4923 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.4103, allocations: 11.98 kB / 0.4923 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.4104, allocations: 3.984 kB / 0.4923 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4104, allocations: 4 kB / 0.4923 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.4105, allocations: 119.2 kB / 0.4924 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4105, allocations: 0 / 0.4924 GB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.411, allocations: 159.9 kB / 0.4926 GB, free: 10.05 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001577/0.4126, allocations: 1.019 MB / 0.4936 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4128, allocations: 67.83 kB / 0.4937 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4128, allocations: 4.125 kB / 0.4937 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.4129, allocations: 31.92 kB / 0.4937 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4131, allocations: 23.92 kB / 0.4937 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.4149, allocations: 1.735 MB / 0.4954 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4153, allocations: 0.6885 MB / 0.4961 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.4153, allocations: 12.05 kB / 0.4961 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.4154, allocations: 31.42 kB / 0.4961 GB, free: 6.285 MB / 414.1 MB Notification: Performance of SimCode: time 2.305e-06/0.4154, allocations: 0 / 0.4961 GB, free: 6.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.4344, allocations: 6.072 MB / 0.5021 GB, free: 384 kB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.4346, allocations: 259 kB / 0.5023 GB, free: 44 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.406, allocations: 0 / 0.5023 GB, free: 44 kB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches