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.001774/0.001774, allocations: 104.5 kB / 17.58 MB, free: 5.426 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.001894/0.001894, allocations: 195.9 kB / 18.51 MB, free: 4.508 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.39/1.39, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001673/0.001674, allocations: 51.91 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08703, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002468/0.08953, allocations: 1.353 MB / 328.7 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.4031, allocations: 150.4 MB / 479.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.4032, allocations: 3.969 kB / 479.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.4033, allocations: 7.922 kB / 479.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009966/0.4043, allocations: 237.9 kB / 479.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4061, allocations: 0.6252 MB / 480 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.4062, allocations: 59.72 kB / 480 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.4063, allocations: 0 / 480 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.4064, allocations: 23.92 kB / 480 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.4065, allocations: 27.91 kB / 480.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.4065, allocations: 0 / 480.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.408, allocations: 0.7993 MB / 480.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.408, allocations: 11.88 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4081, allocations: 19.92 kB / 480.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4091, allocations: 0.6042 MB / 481.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4091, allocations: 8 kB / 481.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4091, allocations: 0 / 481.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4092, allocations: 0 / 481.5 MB, free: 12.79 MB / 382.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.0006714/0.4098, allocations: 444 kB / 481.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4099, allocations: 8.031 kB / 481.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.41, allocations: 38.75 kB / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.4111, allocations: 101.2 kB / 482.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.4114, allocations: 220.1 kB / 482.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4114, allocations: 7.938 kB / 482.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.4115, allocations: 5.594 kB / 482.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.4117, allocations: 95.31 kB / 482.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4117, allocations: 0 / 482.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4118, allocations: 0 / 482.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4118, allocations: 4 kB / 482.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.412, allocations: 47.89 kB / 482.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.4123, allocations: 210.7 kB / 482.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.4128, allocations: 121.1 kB / 482.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4129, allocations: 45.69 kB / 482.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008071/0.4137, allocations: 0.9862 MB / 483.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4138, allocations: 30.56 kB / 483.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4138, allocations: 0 / 483.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005202/0.4143, allocations: 137.7 kB / 484 MB, free: 9.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4144, allocations: 81.11 kB / 484.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.4146, allocations: 157.8 kB / 484.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4146, allocations: 29.69 kB / 484.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.4147, allocations: 88.14 kB / 484.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.4148, allocations: 27.53 kB / 484.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4148, allocations: 29.69 kB / 484.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.415, allocations: 318.8 kB / 484.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4151, allocations: 27.97 kB / 484.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4152, allocations: 51.41 kB / 484.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.4155, allocations: 91.27 kB / 484.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4155, allocations: 4 kB / 484.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003572/0.4158, allocations: 113.5 kB / 485 MB, free: 8.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4159, allocations: 8 kB / 485 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4159, allocations: 0 / 485 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4159, allocations: 0 / 485 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.416, allocations: 27.97 kB / 485 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4161, allocations: 0 / 485 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.4162, allocations: 7.984 kB / 485 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.4163, allocations: 16.05 kB / 485 MB, free: 8.762 MB / 382.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 9.706e-05/0.4164, allocations: 113.8 kB / 485.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.4165, allocations: 11.91 kB / 485.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007363/0.4172, allocations: 239.9 kB / 485.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4172, allocations: 0 / 485.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4172, allocations: 0 / 485.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4172, allocations: 7.984 kB / 485.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.4175, allocations: 215.5 kB / 485.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4175, allocations: 5 kB / 485.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.4177, allocations: 19.97 kB / 485.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4177, allocations: 0 / 485.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4177, allocations: 7.984 kB / 485.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4177, allocations: 4 kB / 485.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4177, allocations: 4 kB / 485.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.4182, allocations: 179.9 kB / 485.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.4183, allocations: 89.03 kB / 485.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.4184, allocations: 4 kB / 485.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4186, allocations: 4 kB / 485.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.4186, allocations: 12.28 kB / 485.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4186, allocations: 7.984 kB / 485.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.4188, allocations: 132.3 kB / 486.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4188, allocations: 7.938 kB / 486.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006625/0.4195, allocations: 167.9 kB / 486.2 MB, free: 7.461 MB / 382.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.0016/0.4211, allocations: 0.9898 MB / 487.2 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.4215, allocations: 87.86 kB / 487.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4215, allocations: 0 / 487.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4216, allocations: 44.09 kB / 487.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4219, allocations: 8.875 kB / 487.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.4248, allocations: 1.804 MB / 489.2 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4252, allocations: 0.6885 MB / 489.9 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006627/0.4258, allocations: 435.2 kB / 490.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.426, allocations: 43.38 kB / 490.3 MB, free: 3.215 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.426, allocations: 0 / 490.3 MB, free: 3.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.4601, allocations: 7.582 MB / 497.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.256, allocations: 0.625 kB / 497.9 MB, free: 11.57 MB / 398.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