Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.001558/0.001558, allocations: 116.9 kB / 18.45 MB, free: 4.625 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.001811/0.001811, allocations: 212.3 kB / 21.41 MB, free: 1.672 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.412/1.412, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_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.002802/0.002802, allocations: 59.86 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.101, allocations: 49.12 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002446/0.1035, allocations: 1.358 MB / 392.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009285/0.1128, allocations: 7.182 MB / 399.9 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.1128, allocations: 8 kB / 400 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1128, allocations: 3.938 kB / 400 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.1139, allocations: 279 kB / 400.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1154, allocations: 0.6969 MB / 400.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.1155, allocations: 51.72 kB / 401 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.1156, allocations: 11.92 kB / 401 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1157, allocations: 43.86 kB / 401 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.1164, allocations: 355.3 kB / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1164, allocations: 0 / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1177, allocations: 0.8383 MB / 402.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1177, allocations: 3.938 kB / 402.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.1178, allocations: 23.92 kB / 402.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.1187, allocations: 0.5494 MB / 402.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1187, allocations: 0 / 402.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1187, allocations: 0 / 402.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1187, allocations: 4 kB / 402.8 MB, free: 13.28 MB / 334.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.0006289/0.1193, allocations: 474.1 kB / 403.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1193, allocations: 8.031 kB / 403.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1194, allocations: 38.75 kB / 403.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.1194, allocations: 8.891 kB / 403.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1196, allocations: 188.2 kB / 403.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1196, allocations: 384 / 403.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1197, allocations: 4.375 kB / 403.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1198, allocations: 67.33 kB / 403.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1198, allocations: 4 kB / 403.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1198, allocations: 4 kB / 403.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1199, allocations: 0 / 403.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.1199, allocations: 23.91 kB / 403.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.1201, allocations: 174.6 kB / 403.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1204, allocations: 77.12 kB / 403.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.1205, allocations: 29.77 kB / 403.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.1217, allocations: 1.54 MB / 405.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1218, allocations: 34.55 kB / 405.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1218, allocations: 0 / 405.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003131/0.1221, allocations: 85.53 kB / 405.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1221, allocations: 81.11 kB / 405.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1222, allocations: 113.8 kB / 405.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1223, allocations: 25.7 kB / 405.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1223, allocations: 88.14 kB / 405.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1224, allocations: 23.78 kB / 405.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.1224, allocations: 21.72 kB / 405.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1225, allocations: 318.8 kB / 406.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.137e-05/0.1226, allocations: 12 kB / 406.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.1227, allocations: 43.36 kB / 406.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1228, allocations: 55.78 kB / 406.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1228, allocations: 0 / 406.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002153/0.123, allocations: 101.4 kB / 406.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1231, allocations: 7.906 kB / 406.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1231, allocations: 4 kB / 406.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1231, allocations: 0 / 406.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.1232, allocations: 15.98 kB / 406.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1232, allocations: 0 / 406.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1232, allocations: 4 kB / 406.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1232, allocations: 4 kB / 406.4 MB, free: 9.008 MB / 334.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.554e-05/0.1233, allocations: 121.8 kB / 406.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1233, allocations: 11.89 kB / 406.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.1237, allocations: 129.3 kB / 406.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1237, allocations: 0 / 406.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1237, allocations: 0 / 406.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1237, allocations: 0 / 406.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1239, allocations: 181.6 kB / 406.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1239, allocations: 3.938 kB / 406.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.124, allocations: 12 kB / 406.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.124, allocations: 0 / 406.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.124, allocations: 7.984 kB / 406.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.124, allocations: 4 kB / 406.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.124, allocations: 0 / 406.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1243, allocations: 137.9 kB / 407 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1244, allocations: 92.98 kB / 407.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1244, allocations: 4 kB / 407.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.1245, allocations: 3.938 kB / 407.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1245, allocations: 7.984 kB / 407.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1245, allocations: 4 kB / 407.1 MB, free: 8.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.1246, allocations: 87.81 kB / 407.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1246, allocations: 4 kB / 407.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005325/0.1251, allocations: 175.4 kB / 407.4 MB, free: 7.93 MB / 334.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 (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.001344/0.1264, allocations: 0.9566 MB / 408.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1266, allocations: 43.91 kB / 408.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1266, allocations: 0 / 408.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.1267, allocations: 31.92 kB / 408.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1269, allocations: 8 kB / 408.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1287, allocations: 1.538 MB / 410 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1291, allocations: 0.6885 MB / 410.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.1291, allocations: 28.05 kB / 410.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1292, allocations: 27.44 kB / 410.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1292, allocations: 0 / 410.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.1597, allocations: 5.174 MB / 415.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.308, allocations: 0 / 415.9 MB, free: 15.22 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.714762196002994]