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.0008642/0.0008642, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008048/0.0008048, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8665/0.8665, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 3.176e-06/3.176e-06, allocations: 3.984 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.208e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001712/0.001734, allocations: 1.361 MB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2848/0.2865, allocations: 131 MB / 456.9 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2866, allocations: 0 / 456.9 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.2866, allocations: 6.188 kB / 456.9 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.2877, allocations: 386.4 kB / 457.3 MB, free: 5.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.2886, allocations: 0.5305 MB / 457.8 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2887, allocations: 79.27 kB / 457.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.2888, allocations: 5.906 kB / 457.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.2888, allocations: 40.48 kB / 457.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.2889, allocations: 29.83 kB / 457.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2889, allocations: 3.094 kB / 457.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2903, allocations: 0.952 MB / 458.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.2903, allocations: 17.97 kB / 458.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.2903, allocations: 23.08 kB / 458.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008284/0.2912, allocations: 0.7508 MB / 459.7 MB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2912, allocations: 2.438 kB / 459.7 MB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2912, allocations: 0.9688 kB / 459.7 MB, free: 5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.2912, allocations: 0 / 459.7 MB, free: 5 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.0004306/0.2916, allocations: 390.7 kB / 460.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2917, allocations: 8.344 kB / 460.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.2917, allocations: 35.86 kB / 460.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.292, allocations: 74.11 kB / 460.2 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.2921, allocations: 132.5 kB / 460.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2921, allocations: 9.078 kB / 460.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2921, allocations: 2.531 kB / 460.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.2922, allocations: 77.47 kB / 460.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2922, allocations: 0 / 460.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2922, allocations: 5.969 kB / 460.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2922, allocations: 0.9062 kB / 460.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.2923, allocations: 46.88 kB / 460.5 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.2924, allocations: 159.5 kB / 460.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2927, allocations: 117.2 kB / 460.7 MB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.2927, allocations: 31.77 kB / 460.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.293, allocations: 63.97 kB / 460.8 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.293, allocations: 33.75 kB / 460.9 MB, free: 4.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.293, allocations: 5.188 kB / 460.9 MB, free: 4.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.00025/0.2933, allocations: 117 kB / 461 MB, free: 4.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2933, allocations: 83.89 kB / 461.1 MB, free: 4.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.2934, allocations: 140.7 kB / 461.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.2934, allocations: 32.02 kB / 461.2 MB, free: 3.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.2934, allocations: 84.86 kB / 461.3 MB, free: 3.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2934, allocations: 18.34 kB / 461.3 MB, free: 3.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.2935, allocations: 25.67 kB / 461.3 MB, free: 3.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.2935, allocations: 317.5 kB / 461.7 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.2935, allocations: 23.11 kB / 461.7 MB, free: 3.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.2936, allocations: 49.08 kB / 461.7 MB, free: 3.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.2937, allocations: 87.86 kB / 461.8 MB, free: 3.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2937, allocations: 1.203 kB / 461.8 MB, free: 3.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001437/0.2938, allocations: 117.1 kB / 461.9 MB, free: 3.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2938, allocations: 5.594 kB / 461.9 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2938, allocations: 5.125 kB / 461.9 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2938, allocations: 3.094 kB / 461.9 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.2939, allocations: 11.72 kB / 462 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2939, allocations: 6.688 kB / 462 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.2939, allocations: 13.09 kB / 462 MB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2939, allocations: 4.062 kB / 462 MB, free: 3.383 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.166e-05/0.294, allocations: 112.4 kB / 462.1 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.294, allocations: 9.562 kB / 462.1 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.2941, allocations: 117.6 kB / 462.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2942, allocations: 0 / 462.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2942, allocations: 3.656 kB / 462.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2942, allocations: 0 / 462.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.2942, allocations: 155.7 kB / 462.4 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2942, allocations: 3.938 kB / 462.4 MB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.2943, allocations: 18.83 kB / 462.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2943, allocations: 3.438 kB / 462.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2943, allocations: 0 / 462.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2943, allocations: 6.562 kB / 462.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2943, allocations: 1.203 kB / 462.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2945, allocations: 156.5 kB / 462.6 MB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.2945, allocations: 13.8 kB / 462.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2945, allocations: 2.906 kB / 462.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.2946, allocations: 0.8125 kB / 462.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.2946, allocations: 5.594 kB / 462.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2946, allocations: 13.09 kB / 462.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.2946, allocations: 109.6 kB / 462.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 2.172 kB / 462.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.2951, allocations: 169.9 kB / 462.9 MB, free: 2.875 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.0009018/0.296, allocations: 1.024 MB / 463.9 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2961, allocations: 69.25 kB / 464 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2961, allocations: 0 / 464 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.155e-05/0.2961, allocations: 30.16 kB / 464 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2963, allocations: 25.27 kB / 464 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.2974, allocations: 1.696 MB / 465.7 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.2975, allocations: 73.98 kB / 465.8 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.2975, allocations: 15.14 kB / 465.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.2976, allocations: 29.36 kB / 465.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2976, allocations: 0 / 465.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3205, allocations: 7.104 MB / 472.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.295, allocations: 6.469 kB / 472.9 MB, free: 15.43 MB / 426.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 9.120163735933602]