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.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.001681/0.001681, allocations: 115.9 kB / 18.4 MB, free: 4.652 MB / 14.72 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.001744/0.001744, allocations: 186.9 kB / 21.34 MB, free: 1.723 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.473/1.473, allocations: 205.1 MB / 229.2 MB, free: 4.547 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 56.16 kB / 334.7 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08491, allocations: 46.62 MB / 381.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002545/0.0875, allocations: 1.351 MB / 382.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00975/0.09727, allocations: 7.143 MB / 389.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.09737, allocations: 4 kB / 389.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.09745, allocations: 3.938 kB / 389.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.09858, allocations: 271 kB / 390.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1003, allocations: 0.6852 MB / 390.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1005, allocations: 55.72 kB / 390.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1005, allocations: 3.938 kB / 390.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1006, allocations: 47.84 kB / 390.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007254/0.1014, allocations: 359.2 kB / 391.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1014, allocations: 0 / 391.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1028, allocations: 0.8111 MB / 392.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1029, allocations: 3.938 kB / 392.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.1029, allocations: 23.92 kB / 392.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.104, allocations: 0.5532 MB / 392.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.104, allocations: 4 kB / 392.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.104, allocations: 0 / 392.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1041, allocations: 0 / 392.6 MB, free: 5.629 MB / 318.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.0006575/0.1047, allocations: 474.1 kB / 393.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1048, allocations: 12.03 kB / 393.1 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1048, allocations: 30.75 kB / 393.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1049, allocations: 8.891 kB / 393.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1051, allocations: 188.3 kB / 393.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1051, allocations: 384 / 393.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1051, allocations: 4.375 kB / 393.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1053, allocations: 67.27 kB / 393.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1053, allocations: 0 / 393.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1054, allocations: 8 kB / 393.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1054, allocations: 0 / 393.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.1055, allocations: 19.97 kB / 393.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1057, allocations: 174.5 kB / 393.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.106, allocations: 85.16 kB / 393.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.1061, allocations: 33.77 kB / 393.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.1074, allocations: 1.544 MB / 395.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1074, allocations: 30.56 kB / 395.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 5.981e-06/0.1074, allocations: 0 / 395.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003007/0.1077, allocations: 85.53 kB / 395.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1078, allocations: 88.98 kB / 395.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1079, allocations: 113.8 kB / 395.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1079, allocations: 25.7 kB / 395.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.108, allocations: 84.14 kB / 395.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.108, allocations: 27.78 kB / 395.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1081, allocations: 17.72 kB / 395.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1082, allocations: 318.8 kB / 396 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.1083, allocations: 16 kB / 396.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.1084, allocations: 35.42 kB / 396.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1085, allocations: 63.34 kB / 396.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1085, allocations: 0 / 396.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002059/0.1087, allocations: 93.5 kB / 396.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1088, allocations: 7.906 kB / 396.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1088, allocations: 0 / 396.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1088, allocations: 4 kB / 396.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.1089, allocations: 19.92 kB / 396.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1089, allocations: 0 / 396.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1089, allocations: 4 kB / 396.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1089, allocations: 4 kB / 396.3 MB, free: 1.352 MB / 318.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 8.318e-05/0.109, allocations: 117.8 kB / 396.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1091, allocations: 15.88 kB / 396.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.1094, allocations: 121.9 kB / 396.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1095, allocations: 4 kB / 396.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1095, allocations: 0 / 396.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1095, allocations: 3.938 kB / 396.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1096, allocations: 181.6 kB / 396.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1097, allocations: 3.938 kB / 396.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.1097, allocations: 8.047 kB / 396.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.1098, allocations: 11.97 kB / 396.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1098, allocations: 4 kB / 396.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1098, allocations: 0 / 396.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1098, allocations: 4 kB / 396.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1101, allocations: 133.9 kB / 396.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.1102, allocations: 93.02 kB / 397 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1102, allocations: 4 kB / 397 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.1102, allocations: 15.92 kB / 397 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1103, allocations: 4 kB / 397 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1103, allocations: 0 / 397 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.1104, allocations: 91.27 kB / 397.1 MB, free: 452 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1104, allocations: 0 / 397.1 MB, free: 452 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.1109, allocations: 183.4 kB / 397.3 MB, free: 268 kB / 318.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.001315/0.1122, allocations: 0.9405 MB / 398.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1124, allocations: 47.91 kB / 398.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1124, allocations: 0 / 398.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1125, allocations: 27.98 kB / 398.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.1127, allocations: 8.859 kB / 398.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1145, allocations: 1.538 MB / 399.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1148, allocations: 0.6846 MB / 400.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.1149, allocations: 31.91 kB / 400.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.115, allocations: 31.42 kB / 400.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.115, allocations: 0 / 400.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.144, allocations: 5.153 MB / 405.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/7.849, allocations: 11.92 kB / 405.7 MB, free: 7.574 MB / 334.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_2/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_2/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.340233399998397]