Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.888/0.888, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.53e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001785/0.00181, allocations: 1.339 MB / 319.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1041/0.1059, allocations: 128.1 MB / 447.8 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.1059, allocations: 0 / 447.8 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.106, allocations: 3.938 kB / 447.8 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009508/0.1069, allocations: 390 kB / 448.2 MB, free: 4.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.1077, allocations: 0.5358 MB / 448.8 MB, free: 3.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.1078, allocations: 75.59 kB / 448.8 MB, free: 3.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1078, allocations: 19.97 kB / 448.9 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.1079, allocations: 35.84 kB / 448.9 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.1079, allocations: 35.89 kB / 448.9 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.108, allocations: 4 kB / 448.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.109, allocations: 0.9268 MB / 449.9 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1091, allocations: 11.94 kB / 449.9 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1091, allocations: 31.91 kB / 449.9 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.1098, allocations: 0.7442 MB / 450.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1098, allocations: 0 / 450.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1098, allocations: 0 / 450.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1098, allocations: 4 kB / 450.6 MB, free: 1.602 MB / 410.7 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.0004339/0.1103, allocations: 388.5 kB / 451 MB, free: 1.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1103, allocations: 8.922 kB / 451 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.1103, allocations: 38.73 kB / 451.1 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.1106, allocations: 76.8 kB / 451.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1107, allocations: 137.6 kB / 451.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1107, allocations: 384 / 451.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1107, allocations: 7.938 kB / 451.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1109, allocations: 75.33 kB / 451.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1109, allocations: 7.984 kB / 451.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1109, allocations: 0 / 451.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1109, allocations: 4 kB / 451.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.1109, allocations: 39.97 kB / 451.4 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1111, allocations: 157.7 kB / 451.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1113, allocations: 117 kB / 451.7 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.1113, allocations: 33.77 kB / 451.7 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.1116, allocations: 59.94 kB / 451.8 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.1116, allocations: 34.56 kB / 451.8 MB, free: 296 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1116, allocations: 0 / 451.8 MB, free: 296 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002251/0.1119, allocations: 121.5 kB / 451.9 MB, free: 168 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1119, allocations: 89.05 kB / 452 MB, free: 60 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1231/0.2349, allocations: 132.9 kB / 452.1 MB, free: 136.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.235, allocations: 28.95 kB / 452.2 MB, free: 136.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.235, allocations: 85.45 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.235, allocations: 24.72 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2351, allocations: 22.28 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.2351, allocations: 317.6 kB / 452.6 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.2352, allocations: 29.86 kB / 452.6 MB, free: 136.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.2352, allocations: 49.78 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.2353, allocations: 80.66 kB / 452.8 MB, free: 136.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2353, allocations: 0.75 kB / 452.8 MB, free: 136.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001852/0.2355, allocations: 111.8 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2355, allocations: 8.469 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2355, allocations: 1.312 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2356, allocations: 5.219 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.2356, allocations: 15.08 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2356, allocations: 1.828 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.2356, allocations: 11.66 kB / 452.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2357, allocations: 6.438 kB / 452.9 MB, free: 136.3 MB / 410.7 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 4.177e-05/0.2357, allocations: 119.6 kB / 453 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.2357, allocations: 12.92 kB / 453.1 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.2359, allocations: 106.6 kB / 453.2 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2359, allocations: 4.938 kB / 453.2 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2359, allocations: 1.125 kB / 453.2 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2359, allocations: 1.078 kB / 453.2 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.236, allocations: 148.3 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.236, allocations: 1.125 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.2361, allocations: 19.98 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2361, allocations: 0.5312 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2361, allocations: 6.562 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2361, allocations: 5.125 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2361, allocations: 1.359 kB / 453.3 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.2363, allocations: 159.4 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.2363, allocations: 18.12 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2363, allocations: 1.375 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.2363, allocations: 9.453 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.2364, allocations: 9.406 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2364, allocations: 2.5 kB / 453.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.2364, allocations: 115.2 kB / 453.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2364, allocations: 0 / 453.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.2369, allocations: 165.6 kB / 453.8 MB, free: 135.8 MB / 410.7 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.0009991/0.2379, allocations: 1.037 MB / 454.8 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.238, allocations: 61.56 kB / 454.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.238, allocations: 0 / 454.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.2381, allocations: 34.67 kB / 454.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.2382, allocations: 26.78 kB / 455 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.2392, allocations: 1.694 MB / 456.7 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.2392, allocations: 80.02 kB / 456.7 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.2393, allocations: 11.86 kB / 456.8 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.2393, allocations: 29.47 kB / 456.8 MB, free: 133.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2393, allocations: 0 / 456.8 MB, free: 133.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.2572, allocations: 7.148 MB / 463.9 MB, free: 127 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.198, allocations: 6.969 kB / 463.9 MB, free: 127 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.081657698377967]