Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2211, allocations: 53.37 MB / 431.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002381/0.2235, allocations: 1.394 MB / 432.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3889/0.6124, allocations: 152.4 MB / 0.5712 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.6124, allocations: 0 / 0.5712 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.6125, allocations: 6.469 kB / 0.5712 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.6136, allocations: 391.5 kB / 0.5716 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.6147, allocations: 0.5222 MB / 0.5721 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.6148, allocations: 73.45 kB / 0.5722 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.6149, allocations: 6.562 kB / 0.5722 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.6149, allocations: 30.94 kB / 0.5722 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.615, allocations: 39.14 kB / 0.5722 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.615, allocations: 6.344 kB / 0.5723 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.6168, allocations: 1.152 MB / 0.5734 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.6168, allocations: 18.64 kB / 0.5734 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.6169, allocations: 30.94 kB / 0.5734 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.6178, allocations: 0.6929 MB / 0.5741 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6178, allocations: 0 / 0.5741 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6178, allocations: 1.203 kB / 0.5741 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.6178, allocations: 0 / 0.5741 GB, free: 12.77 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.0006322/0.6185, allocations: 391 kB / 0.5745 GB, free: 12.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6185, allocations: 7.75 kB / 0.5745 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.6185, allocations: 38.16 kB / 0.5745 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.619, allocations: 68.91 kB / 0.5746 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.6191, allocations: 142.1 kB / 0.5747 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.6191, allocations: 7.297 kB / 0.5747 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.6192, allocations: 5.938 kB / 0.5747 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6193, allocations: 74.36 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.6193, allocations: 4 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.6193, allocations: 0 / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6193, allocations: 0 / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.6194, allocations: 43.3 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.6196, allocations: 166.2 kB / 0.575 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.6199, allocations: 115.9 kB / 0.5751 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.62, allocations: 35.02 kB / 0.5752 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/0.6205, allocations: 64.62 kB / 0.5752 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6205, allocations: 35.08 kB / 0.5752 GB, free: 11.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6205, allocations: 0 / 0.5752 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003495/0.6209, allocations: 119.2 kB / 0.5754 GB, free: 11.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.6209, allocations: 83.86 kB / 0.5754 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.6211, allocations: 142.8 kB / 0.5756 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6211, allocations: 29.7 kB / 0.5756 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.6211, allocations: 88.36 kB / 0.5757 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.6211, allocations: 24.11 kB / 0.5757 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.6212, allocations: 22.67 kB / 0.5757 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6213, allocations: 315.7 kB / 0.576 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.6214, allocations: 29.78 kB / 0.5761 GB, free: 11.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.6215, allocations: 56.55 kB / 0.5761 GB, free: 11.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.6216, allocations: 82.72 kB / 0.5762 GB, free: 11.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6216, allocations: 0 / 0.5762 GB, free: 11.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.6219, allocations: 107.5 kB / 0.5763 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6219, allocations: 7.188 kB / 0.5763 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6219, allocations: 6.875 kB / 0.5763 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6219, allocations: 1.062 kB / 0.5763 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.622, allocations: 24.75 kB / 0.5763 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.622, allocations: 3.406 kB / 0.5763 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.622, allocations: 6.141 kB / 0.5763 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.622, allocations: 3.094 kB / 0.5763 GB, free: 11.1 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 9.276e-05/0.6221, allocations: 118.1 kB / 0.5765 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.6222, allocations: 5 kB / 0.5765 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.6224, allocations: 113.6 kB / 0.5766 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6224, allocations: 5.109 kB / 0.5766 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6224, allocations: 0 / 0.5766 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6224, allocations: 4.078 kB / 0.5766 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.6226, allocations: 159.8 kB / 0.5767 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6226, allocations: 1.203 kB / 0.5767 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.6227, allocations: 12.59 kB / 0.5767 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6227, allocations: 0 / 0.5767 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6227, allocations: 9.906 kB / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6227, allocations: 1.688 kB / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6227, allocations: 7.938 kB / 0.5768 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.623, allocations: 158.6 kB / 0.5769 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.623, allocations: 13.25 kB / 0.5769 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.623, allocations: 0 / 0.5769 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.6231, allocations: 2.688 kB / 0.5769 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.6231, allocations: 9.109 kB / 0.5769 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.6231, allocations: 8.719 kB / 0.577 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.6232, allocations: 107.5 kB / 0.5771 GB, free: 10.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6232, allocations: 2.469 kB / 0.5771 GB, free: 10.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.6238, allocations: 166.8 kB / 0.5772 GB, free: 10.56 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001416/0.6252, allocations: 1.011 MB / 0.5782 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.6254, allocations: 62.16 kB / 0.5783 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6254, allocations: 0 / 0.5783 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.6255, allocations: 38.62 kB / 0.5783 GB, free: 9.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6257, allocations: 22 kB / 0.5783 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6279, allocations: 1.747 MB / 0.58 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6282, allocations: 0.6877 MB / 0.5807 GB, free: 7.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.6283, allocations: 23.53 kB / 0.5807 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.6283, allocations: 21.66 kB / 0.5807 GB, free: 7.855 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6283, allocations: 0 / 0.5807 GB, free: 7.855 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.6648, allocations: 6.401 MB / 0.587 GB, free: 5.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.77, allocations: 8.125 kB / 0.587 GB, free: 5.195 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.28066570199735]