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.002097/0.002097, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.002455/0.002455, allocations: 191.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 2.704/2.704, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001475/0.001475, allocations: 59.86 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 46.63 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.005364/0.1121, allocations: 1.357 MB / 328.7 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.4969/0.609, allocations: 150.4 MB / 479.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.6092, allocations: 0 / 479.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.6093, allocations: 7.922 kB / 479.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.6105, allocations: 236 kB / 479.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.6124, allocations: 0.6291 MB / 480 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.6125, allocations: 53.36 kB / 480 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.6126, allocations: 8 kB / 480 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.6127, allocations: 23.91 kB / 480 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.6128, allocations: 31.91 kB / 480.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.6128, allocations: 4 kB / 480.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.6145, allocations: 0.7876 MB / 480.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.6145, allocations: 15.92 kB / 480.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.6146, allocations: 19.92 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.616, allocations: 0.6042 MB / 481.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6161, allocations: 0 / 481.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6161, allocations: 0 / 481.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.6161, allocations: 0 / 481.5 MB, free: 12.82 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.0007645/0.6169, allocations: 452 kB / 481.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6169, allocations: 12.03 kB / 482 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.617, allocations: 34.75 kB / 482 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6182, allocations: 101.2 kB / 482.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.6186, allocations: 220.2 kB / 482.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.6186, allocations: 3.938 kB / 482.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.6186, allocations: 9.781 kB / 482.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.6189, allocations: 91.27 kB / 482.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.619, allocations: 3.984 kB / 482.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.619, allocations: 8 kB / 482.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.619, allocations: 0 / 482.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.6192, allocations: 39.95 kB / 482.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.6195, allocations: 218.7 kB / 482.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.6201, allocations: 121.1 kB / 482.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.6202, allocations: 37.75 kB / 482.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.6213, allocations: 0.9823 MB / 483.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.6213, allocations: 46.5 kB / 483.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.6213, allocations: 0 / 483.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007344/0.6221, allocations: 129.8 kB / 484 MB, free: 9.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.6222, allocations: 85.05 kB / 484.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.6225, allocations: 149.8 kB / 484.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.6226, allocations: 29.7 kB / 484.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.6226, allocations: 92.12 kB / 484.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.6227, allocations: 19.66 kB / 484.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.6228, allocations: 33.69 kB / 484.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.623, allocations: 318.8 kB / 484.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.6231, allocations: 23.97 kB / 484.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6234, allocations: 55.41 kB / 484.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.6238, allocations: 87.27 kB / 484.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6238, allocations: 0 / 484.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006469/0.6245, allocations: 117.6 kB / 485 MB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6245, allocations: 12 kB / 485 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6246, allocations: 0 / 485 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6246, allocations: 4 kB / 485 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.6249, allocations: 27.91 kB / 485 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6249, allocations: 4 kB / 485 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.6252, allocations: 7.984 kB / 485 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.6253, allocations: 8 kB / 485 MB, free: 8.789 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 0.0001517/0.6254, allocations: 113.8 kB / 485.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.6255, allocations: 7.906 kB / 485.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6266, allocations: 242.8 kB / 485.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.6266, allocations: 4 kB / 485.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6266, allocations: 0.875 kB / 485.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6266, allocations: 4 kB / 485.4 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.627, allocations: 227.4 kB / 485.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.627, allocations: 0 / 485.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.6273, allocations: 19.97 kB / 485.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.6273, allocations: 0 / 485.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.6274, allocations: 8.547 kB / 485.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6274, allocations: 0 / 485.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6274, allocations: 0 / 485.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.6282, allocations: 180.6 kB / 485.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6284, allocations: 97.02 kB / 485.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.6284, allocations: 0 / 485.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.6287, allocations: 8 kB / 485.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.6288, allocations: 8.219 kB / 485.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.6288, allocations: 0 / 485.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.6292, allocations: 135.2 kB / 486.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6292, allocations: 4.062 kB / 486.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.6302, allocations: 167.9 kB / 486.2 MB, free: 7.492 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.00221/0.6325, allocations: 0.9981 MB / 487.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.6328, allocations: 83.81 kB / 487.3 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6329, allocations: 4 kB / 487.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.633, allocations: 40.28 kB / 487.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6333, allocations: 8 kB / 487.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.6371, allocations: 1.804 MB / 489.2 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.6377, allocations: 0.6846 MB / 489.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001005/0.6387, allocations: 431.2 kB / 490.3 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.639, allocations: 51.39 kB / 490.3 MB, free: 3.242 MB / 382.1 MB Notification: Performance of SimCode: time 3.567e-06/0.639, allocations: 0 / 490.3 MB, free: 3.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/0.6844, allocations: 7.584 MB / 497.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.03, allocations: 0.625 kB / 497.9 MB, free: 11.6 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