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.001722/0.001722, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001525/0.001525, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.51/1.51, allocations: 230.4 MB / 254 MB, free: 15.01 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.00271/0.00271, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1394, allocations: 53.38 MB / 426.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003359/0.1428, allocations: 1.369 MB / 427.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3688/0.5116, allocations: 152 MB / 0.5662 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.5116, allocations: 0 / 0.5662 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.5117, allocations: 3.984 kB / 0.5662 GB, free: 6.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009623/0.5126, allocations: 246.8 kB / 0.5664 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.5139, allocations: 401.2 kB / 0.5668 GB, free: 6.191 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.514, allocations: 59.7 kB / 0.5668 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.5141, allocations: 0 / 0.5668 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.5141, allocations: 31.91 kB / 0.5669 GB, free: 6.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5142, allocations: 27.86 kB / 0.5669 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.5142, allocations: 0 / 0.5669 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.5156, allocations: 0.6979 MB / 0.5676 GB, free: 5.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.5156, allocations: 7.938 kB / 0.5676 GB, free: 5.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.5156, allocations: 27.88 kB / 0.5676 GB, free: 5.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.5165, allocations: 499.4 kB / 0.5681 GB, free: 4.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5165, allocations: 0 / 0.5681 GB, free: 4.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5165, allocations: 0 / 0.5681 GB, free: 4.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.5165, allocations: 0 / 0.5681 GB, free: 4.855 MB / 478.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.000624/0.5172, allocations: 445.1 kB / 0.5685 GB, free: 4.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5172, allocations: 8.031 kB / 0.5685 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.5172, allocations: 32.06 kB / 0.5686 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.5186, allocations: 108.8 kB / 0.5687 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.5189, allocations: 228.2 kB / 0.5689 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5189, allocations: 4 kB / 0.5689 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.5189, allocations: 4 kB / 0.5689 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.5192, allocations: 91.33 kB / 0.569 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5192, allocations: 4 kB / 0.569 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.5192, allocations: 0 / 0.569 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-06/0.5192, allocations: 0 / 0.569 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.5194, allocations: 47.89 kB / 0.569 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.5197, allocations: 206.9 kB / 0.5692 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.5202, allocations: 121.1 kB / 0.5693 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.5204, allocations: 37.75 kB / 0.5694 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008112/0.5212, allocations: 0.9862 MB / 0.5703 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5212, allocations: 32.34 kB / 0.5704 GB, free: 2.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5212, allocations: 3.938 kB / 0.5704 GB, free: 2.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005464/0.5218, allocations: 141.6 kB / 0.5705 GB, free: 1.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.5218, allocations: 81.11 kB / 0.5706 GB, free: 1.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.5221, allocations: 159.3 kB / 0.5707 GB, free: 1.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.5221, allocations: 25.7 kB / 0.5708 GB, free: 1.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.5221, allocations: 88.14 kB / 0.5708 GB, free: 1.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.5222, allocations: 19.8 kB / 0.5709 GB, free: 1.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.5223, allocations: 29.69 kB / 0.5709 GB, free: 1.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5224, allocations: 330.8 kB / 0.5712 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.5225, allocations: 19.98 kB / 0.5712 GB, free: 1.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5226, allocations: 51.41 kB / 0.5713 GB, free: 1.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5229, allocations: 91.33 kB / 0.5714 GB, free: 1.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5229, allocations: 0 / 0.5714 GB, free: 1.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003781/0.5233, allocations: 121.5 kB / 0.5715 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5233, allocations: 8 kB / 0.5715 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5233, allocations: 0 / 0.5715 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5233, allocations: 4 kB / 0.5715 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5235, allocations: 19.97 kB / 0.5715 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5235, allocations: 11.98 kB / 0.5715 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5237, allocations: 12 kB / 0.5715 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.5237, allocations: 7.984 kB / 0.5715 GB, free: 0.832 MB / 478.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.0001126/0.5238, allocations: 117.7 kB / 0.5717 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.5238, allocations: 7.953 kB / 0.5717 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.5245, allocations: 232.8 kB / 0.5719 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5245, allocations: 7.984 kB / 0.5719 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5245, allocations: 4 kB / 0.5719 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5245, allocations: 0 / 0.5719 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.5247, allocations: 215.5 kB / 0.5721 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5247, allocations: 0 / 0.5721 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.5249, allocations: 23.97 kB / 0.5721 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5249, allocations: 0 / 0.5721 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5249, allocations: 9.609 kB / 0.5721 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5249, allocations: 4 kB / 0.5721 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5249, allocations: 4.312 kB / 0.5721 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.5254, allocations: 181.8 kB / 0.5723 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.5255, allocations: 89.03 kB / 0.5724 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.5256, allocations: 8 kB / 0.5724 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5257, allocations: 12.05 kB / 0.5724 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.5258, allocations: 7.938 kB / 0.5724 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5258, allocations: 3.984 kB / 0.5724 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.526, allocations: 132.4 kB / 0.5726 GB, free: 15.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.526, allocations: 0 / 0.5726 GB, free: 15.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.5265, allocations: 135.5 kB / 0.5727 GB, free: 15.56 MB / 494.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.001437/0.528, allocations: 0.9075 MB / 0.5736 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.5283, allocations: 71.88 kB / 0.5736 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5283, allocations: 0 / 0.5736 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5284, allocations: 48.03 kB / 0.5737 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5287, allocations: 8 kB / 0.5737 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.5316, allocations: 1.803 MB / 0.5755 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.532, allocations: 0.6924 MB / 0.5761 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000594/0.5326, allocations: 436.6 kB / 0.5765 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.5327, allocations: 47.38 kB / 0.5766 GB, free: 11.4 MB / 494.1 MB Notification: Performance of SimCode: time 5.82e-07/0.5327, allocations: 4 kB / 0.5766 GB, free: 11.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.5668, allocations: 6.622 MB / 0.5831 GB, free: 4.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.657, allocations: 7.938 kB / 0.5831 GB, free: 4.887 MB / 494.1 MB " [Timeout remaining time 651] (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: 11.2367149440106]