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.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.001802/0.001802, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002204/0.002204, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.389/1.389, allocations: 207.6 MB / 235.3 MB, free: 10.01 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_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"}) [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.001782/0.001782, allocations: 47.94 kB / 347.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2968, allocations: 49.17 MB / 396.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002476/0.2993, allocations: 1.362 MB / 397.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1914/0.4907, allocations: 150.8 MB / 0.5357 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.4908, allocations: 0 / 0.5357 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.4908, allocations: 7.938 kB / 0.5357 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4921, allocations: 242.8 kB / 0.5359 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.4942, allocations: 0.6469 MB / 0.5366 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.4944, allocations: 59.66 kB / 0.5366 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.4944, allocations: 0 / 0.5366 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.4945, allocations: 27.91 kB / 0.5367 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.4946, allocations: 27.92 kB / 0.5367 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.4946, allocations: 0 / 0.5367 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4963, allocations: 0.9201 MB / 0.5376 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.4963, allocations: 7.984 kB / 0.5376 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.4964, allocations: 23.86 kB / 0.5376 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4975, allocations: 0.604 MB / 0.5382 GB, free: 8.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4975, allocations: 4 kB / 0.5382 GB, free: 8.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4975, allocations: 0 / 0.5382 GB, free: 8.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4975, allocations: 0 / 0.5382 GB, free: 8.004 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.0006915/0.4982, allocations: 381.2 kB / 0.5386 GB, free: 7.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4983, allocations: 19.91 kB / 0.5386 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.4983, allocations: 34.75 kB / 0.5386 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4994, allocations: 100.8 kB / 0.5387 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.4997, allocations: 162.2 kB / 0.5389 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4997, allocations: 11.94 kB / 0.5389 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.4997, allocations: 0 / 0.5389 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.4999, allocations: 91.33 kB / 0.539 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5, allocations: 0 / 0.539 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5, allocations: 4 kB / 0.539 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5, allocations: 0 / 0.539 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.5001, allocations: 47.89 kB / 0.539 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.5004, allocations: 185.9 kB / 0.5392 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.5009, allocations: 129.1 kB / 0.5393 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5011, allocations: 33.77 kB / 0.5393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.5013, allocations: 92.58 kB / 0.5394 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5014, allocations: 38.55 kB / 0.5395 GB, free: 6.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.5014, allocations: 0 / 0.5395 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005159/0.5019, allocations: 137.8 kB / 0.5396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.5019, allocations: 77.11 kB / 0.5397 GB, free: 6.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5021, allocations: 153.8 kB / 0.5398 GB, free: 6.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5022, allocations: 25.7 kB / 0.5398 GB, free: 6.121 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.5022, allocations: 84.14 kB / 0.5399 GB, free: 6.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.5023, allocations: 27.73 kB / 0.54 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.5023, allocations: 33.69 kB / 0.54 GB, free: 5.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5025, allocations: 318.8 kB / 0.5403 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.5026, allocations: 31.97 kB / 0.5403 GB, free: 5.617 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5027, allocations: 55.34 kB / 0.5404 GB, free: 5.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.5029, allocations: 79.41 kB / 0.5405 GB, free: 5.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5029, allocations: 0 / 0.5405 GB, free: 5.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003398/0.5033, allocations: 121.5 kB / 0.5406 GB, free: 5.336 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5033, allocations: 8 kB / 0.5406 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5033, allocations: 0 / 0.5406 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5033, allocations: 0 / 0.5406 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5034, allocations: 27.97 kB / 0.5406 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5034, allocations: 4.469 kB / 0.5406 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5036, allocations: 8.016 kB / 0.5406 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5036, allocations: 11.98 kB / 0.5406 GB, free: 5.277 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.754e-05/0.5037, allocations: 117.7 kB / 0.5407 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.5038, allocations: 4 kB / 0.5407 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/0.5044, allocations: 261.2 kB / 0.541 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5044, allocations: 0 / 0.541 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5044, allocations: 4 kB / 0.541 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5044, allocations: 3.938 kB / 0.541 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.5047, allocations: 198 kB / 0.5412 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5047, allocations: 0 / 0.5412 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5049, allocations: 24.03 kB / 0.5412 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5049, allocations: 0 / 0.5412 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.5049, allocations: 4 kB / 0.5412 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5049, allocations: 3.938 kB / 0.5412 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5049, allocations: 4 kB / 0.5412 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.5053, allocations: 177.8 kB / 0.5414 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.5054, allocations: 12.02 kB / 0.5414 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.5054, allocations: 3.984 kB / 0.5414 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5056, allocations: 8.062 kB / 0.5414 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.5056, allocations: 15.92 kB / 0.5414 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5057, allocations: 4 kB / 0.5414 GB, free: 4.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.5058, allocations: 131.3 kB / 0.5416 GB, free: 4.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5058, allocations: 0 / 0.5416 GB, free: 4.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.5064, allocations: 175.5 kB / 0.5417 GB, free: 4.066 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.00142/0.5078, allocations: 0.9991 MB / 0.5427 GB, free: 3.035 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.5081, allocations: 75.88 kB / 0.5428 GB, free: 2.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5081, allocations: 3.938 kB / 0.5428 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5082, allocations: 40.11 kB / 0.5428 GB, free: 2.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.5084, allocations: 15.92 kB / 0.5428 GB, free: 2.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.5111, allocations: 1.812 MB / 0.5446 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5115, allocations: 0.6885 MB / 0.5453 GB, free: 276 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006305/0.5121, allocations: 431.1 kB / 0.5457 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.5122, allocations: 51.38 kB / 0.5457 GB, free: 15.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5122, allocations: 0 / 0.5457 GB, free: 15.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.5493, allocations: 7.789 MB / 0.5533 GB, free: 7.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.76, allocations: 8.062 kB / 0.5533 GB, free: 7.949 MB / 478.1 MB " [Timeout remaining time 648] (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.00019992 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.486083955998765]