Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001322/0.001322, 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.0009083/0.0009083, allocations: 153.1 kB / 23.93 MB, free: 0.6328 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.868/0.868, 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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.212e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001444/0.001456, allocations: 1.323 MB / 319.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.00471, allocations: 3.682 MB / 323.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.00474, allocations: 3.938 kB / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.004758, allocations: 3.938 kB / 323.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008807/0.005639, allocations: 310.6 kB / 323.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.006474, allocations: 0.5133 MB / 324.3 MB, free: 496 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.006555, allocations: 59.67 kB / 324.3 MB, free: 436 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.006586, allocations: 3.984 kB / 324.3 MB, free: 432 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.006684, allocations: 43.89 kB / 324.4 MB, free: 388 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.007173, allocations: 371.2 kB / 324.7 MB, free: 16 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.007186, allocations: 0 / 324.7 MB, free: 16 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.007808, allocations: 0.5378 MB / 325.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.007821, allocations: 4 kB / 325.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.007846, allocations: 15.92 kB / 325.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007507/0.008596, allocations: 486.7 kB / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.008598, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008599, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.008604, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.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.0003993/0.009003, allocations: 369.3 kB / 326.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.00904, allocations: 12.92 kB / 326.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.009072, allocations: 38.75 kB / 326.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.009101, allocations: 12.88 kB / 326.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.009233, allocations: 125.7 kB / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.009246, allocations: 4.375 kB / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.00926, allocations: 384 / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.00937, allocations: 71.45 kB / 326.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.009377, allocations: 0 / 326.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.009386, allocations: 0 / 326.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.009391, allocations: 4 kB / 326.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.009445, allocations: 23.97 kB / 326.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.009576, allocations: 141.7 kB / 326.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.009785, allocations: 77.12 kB / 326.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.00982, allocations: 25.77 kB / 326.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.01006, allocations: 127.9 kB / 326.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.01008, allocations: 38.5 kB / 326.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01008, allocations: 0 / 326.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000183/0.01027, allocations: 85.55 kB / 326.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.0103, allocations: 81.11 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.01036, allocations: 109.8 kB / 327.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.01037, allocations: 25.7 kB / 327.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.0104, allocations: 92.06 kB / 327.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.01043, allocations: 27.73 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.01046, allocations: 17.72 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.01053, allocations: 322.8 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.01056, allocations: 11.98 kB / 327.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.0106, allocations: 39.73 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.01069, allocations: 59.36 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01069, allocations: 0 / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001104/0.0108, allocations: 85.55 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.01081, allocations: 4 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01082, allocations: 7.938 kB / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01083, allocations: 0 / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/0.01086, allocations: 20.05 kB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01087, allocations: 8.078 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.0109, allocations: 7.953 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01091, allocations: 7.984 kB / 327.8 MB, free: 12.7 MB / 298.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.965e-05/0.01096, allocations: 113.8 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.01097, allocations: 3.938 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.01117, allocations: 125.1 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.01117, allocations: 4 kB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01118, allocations: 4 kB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01118, allocations: 0 / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.29e-05/0.01126, allocations: 141.3 kB / 328.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01127, allocations: 3.984 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.01131, allocations: 12 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01131, allocations: 7.875 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.01132, allocations: 4 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01132, allocations: 4 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01132, allocations: 0 / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.01149, allocations: 145.9 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01151, allocations: 19.88 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.01152, allocations: 4 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.01154, allocations: 4 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.01158, allocations: 7.984 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01158, allocations: 0 / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.01162, allocations: 91.27 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01162, allocations: 3.938 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.01189, allocations: 131.5 kB / 328.6 MB, free: 11.8 MB / 298.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 (7): * Single equations (assignments): 6 * 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.0006747/0.01257, allocations: 0.8872 MB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.01269, allocations: 47.91 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01269, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.01274, allocations: 27.92 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.01288, allocations: 15.17 kB / 329.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.01394, allocations: 1.475 MB / 331.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.01398, allocations: 71.58 kB / 331.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01404, allocations: 23.59 kB / 331.2 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.01408, allocations: 36.42 kB / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01408, allocations: 0 / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.0337, allocations: 5.157 MB / 336.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.762, allocations: 6.625 kB / 336.4 MB, free: 4.074 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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: 8.544868104159832]