Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00248/0.00248, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.98 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2257, allocations: 53.4 MB / 431.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002382/0.228, allocations: 1.383 MB / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3952/0.6232, allocations: 152.1 MB / 0.5709 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.6232, allocations: 0 / 0.5709 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.6233, allocations: 7.766 kB / 0.5709 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008175/0.6241, allocations: 243.4 kB / 0.5712 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.625, allocations: 410.3 kB / 0.5716 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.6251, allocations: 59.98 kB / 0.5716 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.6252, allocations: 3.344 kB / 0.5716 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.6252, allocations: 20.88 kB / 0.5716 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.6253, allocations: 39.38 kB / 0.5717 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.6253, allocations: 0 / 0.5717 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.6264, allocations: 0.707 MB / 0.5724 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.6264, allocations: 11.06 kB / 0.5724 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.6264, allocations: 23.03 kB / 0.5724 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.6271, allocations: 0.4917 MB / 0.5729 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6271, allocations: 0 / 0.5729 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6271, allocations: 0 / 0.5729 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.6271, allocations: 1.094 kB / 0.5729 GB, free: 12.81 MB / 462.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.0005388/0.6277, allocations: 360.6 kB / 0.5732 GB, free: 12.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6277, allocations: 8 kB / 0.5732 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.6277, allocations: 40.56 kB / 0.5733 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.629, allocations: 104.2 kB / 0.5734 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.6293, allocations: 168.9 kB / 0.5735 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6293, allocations: 2.75 kB / 0.5735 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.6293, allocations: 5.406 kB / 0.5735 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.6295, allocations: 93.81 kB / 0.5736 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6295, allocations: 3.938 kB / 0.5736 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6295, allocations: 2.812 kB / 0.5736 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6295, allocations: 1.203 kB / 0.5736 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.6297, allocations: 46.52 kB / 0.5737 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.6299, allocations: 179.9 kB / 0.5739 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.6304, allocations: 126.4 kB / 0.574 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.6305, allocations: 39.98 kB / 0.574 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.6307, allocations: 91.95 kB / 0.5741 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6307, allocations: 40.81 kB / 0.5741 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.6307, allocations: 0 / 0.5741 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004403/0.6311, allocations: 138.4 kB / 0.5743 GB, free: 11.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6312, allocations: 77.11 kB / 0.5743 GB, free: 11.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.6314, allocations: 157.8 kB / 0.5745 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.6314, allocations: 25.7 kB / 0.5745 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.6315, allocations: 83.02 kB / 0.5746 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.6315, allocations: 34.75 kB / 0.5746 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.6316, allocations: 30.53 kB / 0.5747 GB, free: 11.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6317, allocations: 320.5 kB / 0.575 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.6318, allocations: 28.95 kB / 0.575 GB, free: 11.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6319, allocations: 50.94 kB / 0.575 GB, free: 11.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.6321, allocations: 87.17 kB / 0.5751 GB, free: 11.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6321, allocations: 0 / 0.5751 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003055/0.6324, allocations: 120.5 kB / 0.5752 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6324, allocations: 5.281 kB / 0.5752 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6324, allocations: 2.719 kB / 0.5752 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6324, allocations: 4.062 kB / 0.5753 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6326, allocations: 27.77 kB / 0.5753 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6326, allocations: 6.406 kB / 0.5753 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.6328, allocations: 10.75 kB / 0.5753 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.6328, allocations: 5.812 kB / 0.5753 GB, free: 11.14 MB / 462.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.0001005/0.6329, allocations: 115.5 kB / 0.5754 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.6329, allocations: 9.234 kB / 0.5754 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.6335, allocations: 243.7 kB / 0.5757 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6335, allocations: 4.141 kB / 0.5757 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6335, allocations: 2.625 kB / 0.5757 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6335, allocations: 1.781 kB / 0.5757 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.6337, allocations: 199.8 kB / 0.5759 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6337, allocations: 0 / 0.5759 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.6338, allocations: 27.73 kB / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6338, allocations: 1.875 kB / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6339, allocations: 2.125 kB / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6339, allocations: 0 / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6339, allocations: 5.531 kB / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.6343, allocations: 181.7 kB / 0.5761 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.6343, allocations: 22.38 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.6343, allocations: 5.406 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6345, allocations: 2.625 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.6346, allocations: 10.06 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.6346, allocations: 4.547 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.6347, allocations: 136.2 kB / 0.5762 GB, free: 10.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6347, allocations: 0 / 0.5762 GB, free: 10.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.6352, allocations: 130.8 kB / 0.5764 GB, free: 10.61 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.001187/0.6364, allocations: 0.9106 MB / 0.5772 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.6367, allocations: 79.97 kB / 0.5773 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6367, allocations: 2.812 kB / 0.5773 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6368, allocations: 37.94 kB / 0.5774 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.637, allocations: 17.66 kB / 0.5774 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.6395, allocations: 1.796 MB / 0.5791 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.6398, allocations: 0.6877 MB / 0.5798 GB, free: 7.957 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005058/0.6403, allocations: 433 kB / 0.5802 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6405, allocations: 49.98 kB / 0.5803 GB, free: 7.902 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6405, allocations: 0 / 0.5803 GB, free: 7.902 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.6762, allocations: 6.773 MB / 0.5869 GB, free: 4.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.71, allocations: 7.438 kB / 0.5869 GB, free: 4.723 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.00019992 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.182382104998396]