Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_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.001294/0.001294, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001395/0.001395, allocations: 188.2 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 56.3 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.07994, allocations: 46.63 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002384/0.08236, allocations: 1.349 MB / 376 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3026/0.385, allocations: 150.4 MB / 0.514 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.3852, allocations: 3.938 kB / 0.514 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.3852, allocations: 7.984 kB / 0.514 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000902/0.3861, allocations: 238.8 kB / 0.5143 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3878, allocations: 0.6294 MB / 0.5149 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.3879, allocations: 59.67 kB / 0.5149 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.3879, allocations: 4 kB / 0.5149 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.388, allocations: 27.91 kB / 0.515 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.3881, allocations: 29.59 kB / 0.515 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3881, allocations: 0 / 0.515 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3896, allocations: 0.885 MB / 0.5158 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3896, allocations: 8 kB / 0.5159 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3896, allocations: 27.84 kB / 0.5159 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.3905, allocations: 0.6001 MB / 0.5165 GB, free: 5.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3905, allocations: 0 / 0.5165 GB, free: 5.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3905, allocations: 4 kB / 0.5165 GB, free: 5.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3905, allocations: 0 / 0.5165 GB, free: 5.277 MB / 446.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.0005311/0.391, allocations: 462.3 kB / 0.5169 GB, free: 4.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3911, allocations: 8.031 kB / 0.5169 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.3911, allocations: 34.75 kB / 0.517 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3922, allocations: 96.75 kB / 0.517 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3925, allocations: 220.3 kB / 0.5173 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3925, allocations: 3.938 kB / 0.5173 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3925, allocations: 4 kB / 0.5173 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.3927, allocations: 91.33 kB / 0.5174 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3928, allocations: 7.922 kB / 0.5174 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3928, allocations: 3.938 kB / 0.5174 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3928, allocations: 0 / 0.5174 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.393, allocations: 55.89 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.3932, allocations: 210.8 kB / 0.5176 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.3937, allocations: 121.1 kB / 0.5177 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3938, allocations: 41.75 kB / 0.5178 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.3945, allocations: 0.9862 MB / 0.5187 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3945, allocations: 38.56 kB / 0.5188 GB, free: 2.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3945, allocations: 0 / 0.5188 GB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004839/0.395, allocations: 125.5 kB / 0.5189 GB, free: 2.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3951, allocations: 85.11 kB / 0.519 GB, free: 2.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3953, allocations: 153.8 kB / 0.5191 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3953, allocations: 25.7 kB / 0.5191 GB, free: 2.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.3954, allocations: 88.12 kB / 0.5192 GB, free: 1.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3954, allocations: 23.75 kB / 0.5193 GB, free: 1.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.3955, allocations: 33.69 kB / 0.5193 GB, free: 1.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3956, allocations: 314.8 kB / 0.5196 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3957, allocations: 31.97 kB / 0.5196 GB, free: 1.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3959, allocations: 51.41 kB / 0.5197 GB, free: 1.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3961, allocations: 83.27 kB / 0.5197 GB, free: 1.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3961, allocations: 4 kB / 0.5197 GB, free: 1.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003377/0.3964, allocations: 125.9 kB / 0.5199 GB, free: 1.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3965, allocations: 4 kB / 0.5199 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3965, allocations: 0 / 0.5199 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3965, allocations: 4 kB / 0.5199 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3966, allocations: 27.97 kB / 0.5199 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3967, allocations: 0 / 0.5199 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3968, allocations: 11.94 kB / 0.5199 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3969, allocations: 8 kB / 0.5199 GB, free: 1.242 MB / 446.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.991e-05/0.397, allocations: 129.7 kB / 0.52 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.397, allocations: 0 / 0.52 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3976, allocations: 232.5 kB / 0.5203 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3976, allocations: 8.875 kB / 0.5203 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3976, allocations: 0 / 0.5203 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3976, allocations: 3.938 kB / 0.5203 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3978, allocations: 222.9 kB / 0.5205 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3978, allocations: 0 / 0.5205 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.398, allocations: 19.97 kB / 0.5205 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.398, allocations: 6.812 kB / 0.5205 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3981, allocations: 3.984 kB / 0.5205 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3981, allocations: 0 / 0.5205 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3981, allocations: 3.938 kB / 0.5205 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.3985, allocations: 181.8 kB / 0.5207 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.3986, allocations: 93.11 kB / 0.5208 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.3986, allocations: 0 / 0.5208 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3988, allocations: 8 kB / 0.5208 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3988, allocations: 11.92 kB / 0.5208 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3989, allocations: 8.062 kB / 0.5208 GB, free: 236 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.399, allocations: 133.6 kB / 0.5209 GB, free: 104 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.399, allocations: 0 / 0.5209 GB, free: 104 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.3996, allocations: 172.3 kB / 0.5211 GB, free: 15.93 MB / 462.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.001293/0.4009, allocations: 0.9988 MB / 0.5221 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4011, allocations: 79.94 kB / 0.5222 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4012, allocations: 0 / 0.5222 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.4013, allocations: 39.91 kB / 0.5222 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4015, allocations: 11.84 kB / 0.5222 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.404, allocations: 1.815 MB / 0.524 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4042, allocations: 0.6923 MB / 0.5247 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.4047, allocations: 427.1 kB / 0.5251 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4049, allocations: 51.38 kB / 0.5251 GB, free: 11.67 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.4049, allocations: 0 / 0.5251 GB, free: 11.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.4311, allocations: 7.619 MB / 0.5326 GB, free: 4.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.052, allocations: 4 kB / 0.5326 GB, free: 4 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches