Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001847/0.001847, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002356/0.002356, allocations: 210.7 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.86 kB / 347.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2564, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002162/0.2586, allocations: 1.345 MB / 397.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.4269, allocations: 129.5 MB / 0.5149 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.427, allocations: 0 / 0.5149 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.427, allocations: 7.922 kB / 0.5149 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.4284, allocations: 358.2 kB / 0.5152 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.4305, allocations: 0.825 MB / 0.516 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.4307, allocations: 79.64 kB / 0.5161 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.4307, allocations: 0 / 0.5161 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.4308, allocations: 39.83 kB / 0.5161 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.4309, allocations: 23.92 kB / 0.5162 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4309, allocations: 4 kB / 0.5162 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.4331, allocations: 1.179 MB / 0.5173 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.4332, allocations: 19.92 kB / 0.5173 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.4332, allocations: 31.84 kB / 0.5174 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.4345, allocations: 0.8182 MB / 0.5182 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4345, allocations: 0 / 0.5182 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4345, allocations: 4 kB / 0.5182 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4345, allocations: 0 / 0.5182 GB, free: 12.4 MB / 446.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.0006359/0.4351, allocations: 409 kB / 0.5186 GB, free: 11.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4352, allocations: 11.98 kB / 0.5186 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.4352, allocations: 30.75 kB / 0.5186 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.4355, allocations: 36.89 kB / 0.5186 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4357, allocations: 146.3 kB / 0.5188 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4357, allocations: 4.125 kB / 0.5188 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4357, allocations: 4 kB / 0.5188 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.4359, allocations: 83.31 kB / 0.5189 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4359, allocations: 0 / 0.5189 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4359, allocations: 0 / 0.5189 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4359, allocations: 3.984 kB / 0.5189 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.436, allocations: 43.97 kB / 0.5189 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.4363, allocations: 161.6 kB / 0.5191 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.4366, allocations: 117 kB / 0.5192 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.4367, allocations: 33.77 kB / 0.5192 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.4372, allocations: 63.92 kB / 0.5193 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4372, allocations: 38.5 kB / 0.5193 GB, free: 11.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4372, allocations: 0 / 0.5193 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003693/0.4376, allocations: 117.5 kB / 0.5194 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4376, allocations: 85.11 kB / 0.5195 GB, free: 10.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.4378, allocations: 137.8 kB / 0.5196 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4378, allocations: 29.7 kB / 0.5197 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4378, allocations: 88.12 kB / 0.5197 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4379, allocations: 19.8 kB / 0.5198 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4379, allocations: 25.72 kB / 0.5198 GB, free: 10.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4381, allocations: 314.8 kB / 0.5201 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.4381, allocations: 27.98 kB / 0.5201 GB, free: 10.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.4382, allocations: 51.41 kB / 0.5202 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.4384, allocations: 83.34 kB / 0.5202 GB, free: 10.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4384, allocations: 3.938 kB / 0.5202 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002536/0.4386, allocations: 105.9 kB / 0.5203 GB, free: 9.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4387, allocations: 4 kB / 0.5203 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4387, allocations: 4.094 kB / 0.5204 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4387, allocations: 3.984 kB / 0.5204 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.4387, allocations: 23.86 kB / 0.5204 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4387, allocations: 8 kB / 0.5204 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.4388, allocations: 8 kB / 0.5204 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4388, allocations: 4 kB / 0.5204 GB, free: 9.875 MB / 446.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.288e-05/0.4389, allocations: 117.8 kB / 0.5205 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.439, allocations: 7.953 kB / 0.5205 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4392, allocations: 117.9 kB / 0.5206 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4392, allocations: 0 / 0.5206 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4392, allocations: 0 / 0.5206 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4392, allocations: 0 / 0.5206 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.4394, allocations: 160.6 kB / 0.5208 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4394, allocations: 8 kB / 0.5208 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.4395, allocations: 11.94 kB / 0.5208 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4395, allocations: 4 kB / 0.5208 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4395, allocations: 4 kB / 0.5208 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4395, allocations: 0 / 0.5208 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4395, allocations: 0 / 0.5208 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.4398, allocations: 165.9 kB / 0.521 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.4399, allocations: 11.97 kB / 0.521 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.4399, allocations: 0 / 0.521 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.4399, allocations: 12.06 kB / 0.521 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.44, allocations: 7.984 kB / 0.521 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.44, allocations: 0 / 0.521 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.4401, allocations: 111.3 kB / 0.5211 GB, free: 9.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4401, allocations: 0 / 0.5211 GB, free: 9.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000674/0.4407, allocations: 207.3 kB / 0.5213 GB, free: 8.867 MB / 446.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.00184/0.4426, allocations: 1.116 MB / 0.5224 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4428, allocations: 67.89 kB / 0.5225 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4428, allocations: 0 / 0.5225 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.4429, allocations: 31.92 kB / 0.5225 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4432, allocations: 28.75 kB / 0.5225 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4454, allocations: 1.765 MB / 0.5242 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.4455, allocations: 71.33 kB / 0.5243 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.413e-05/0.4455, allocations: 20.31 kB / 0.5243 GB, free: 5.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.4456, allocations: 23.38 kB / 0.5243 GB, free: 5.586 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4456, allocations: 0 / 0.5243 GB, free: 5.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4851, allocations: 8.441 MB / 0.5326 GB, free: 13.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.79, allocations: 3.953 kB / 0.5326 GB, free: 13.08 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.40242117177695]