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.001191/0.001191, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001232/0.001232, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.323/1.323, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00152/0.00152, allocations: 51.92 kB / 365.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09053, allocations: 52.15 MB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002519/0.09305, allocations: 1.366 MB / 419.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.09861, allocations: 3.999 MB / 423.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.09866, allocations: 0 / 423.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.09869, allocations: 7.938 kB / 423.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.0997, allocations: 271 kB / 423.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1009, allocations: 0.49 MB / 423.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1011, allocations: 59.66 kB / 424 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.1011, allocations: 11.92 kB / 424 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1012, allocations: 43.84 kB / 424 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1019, allocations: 355.2 kB / 424.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1019, allocations: 0 / 424.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.1031, allocations: 0.6199 MB / 425 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1031, allocations: 11.92 kB / 425 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.1031, allocations: 19.92 kB / 425 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.1039, allocations: 446.9 kB / 425.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1039, allocations: 3.984 kB / 425.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1039, allocations: 4 kB / 425.5 MB, free: 5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.104, allocations: 0 / 425.5 MB, free: 5 MB / 350.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.0006286/0.1046, allocations: 446.4 kB / 425.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1046, allocations: 8.031 kB / 425.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1047, allocations: 34.69 kB / 425.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1047, allocations: 8.891 kB / 425.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1049, allocations: 188.3 kB / 426.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1049, allocations: 4.125 kB / 426.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.105, allocations: 11.95 kB / 426.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1051, allocations: 67.38 kB / 426.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1051, allocations: 0 / 426.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1051, allocations: 0 / 426.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1051, allocations: 0 / 426.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.1052, allocations: 27.91 kB / 426.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.1054, allocations: 174.5 kB / 426.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1057, allocations: 77.16 kB / 426.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.1058, allocations: 25.77 kB / 426.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.1069, allocations: 1.544 MB / 428 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1069, allocations: 30.56 kB / 428.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1069, allocations: 4 kB / 428.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002861/0.1072, allocations: 77.59 kB / 428.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1073, allocations: 81.11 kB / 428.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1074, allocations: 109.8 kB / 428.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1074, allocations: 33.7 kB / 428.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.1074, allocations: 84.08 kB / 428.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.1075, allocations: 31.73 kB / 428.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1075, allocations: 17.72 kB / 428.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1077, allocations: 318.8 kB / 428.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.1077, allocations: 8 kB / 428.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1078, allocations: 47.36 kB / 428.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1079, allocations: 63.34 kB / 428.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1079, allocations: 3.938 kB / 428.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.1081, allocations: 78.03 kB / 429 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1081, allocations: 10.03 kB / 429 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1082, allocations: 4.062 kB / 429 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1082, allocations: 3.938 kB / 429 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.1082, allocations: 15.98 kB / 429 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1082, allocations: 4 kB / 429 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1083, allocations: 4 kB / 429.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1083, allocations: 7.984 kB / 429.1 MB, free: 0.7578 MB / 350.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.702e-05/0.1084, allocations: 125.7 kB / 429.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.1084, allocations: 0 / 429.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.1088, allocations: 124.3 kB / 429.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1088, allocations: 0 / 429.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1088, allocations: 0 / 429.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1088, allocations: 4 kB / 429.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1089, allocations: 181.5 kB / 429.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1089, allocations: 4 kB / 429.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.109, allocations: 11.98 kB / 429.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.109, allocations: 4 kB / 429.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.109, allocations: 4 kB / 429.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.109, allocations: 7.938 kB / 429.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.109, allocations: 0 / 429.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1093, allocations: 137.8 kB / 429.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.1094, allocations: 89.12 kB / 429.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1094, allocations: 4.062 kB / 429.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.1095, allocations: 3.984 kB / 429.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1095, allocations: 8 kB / 429.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1095, allocations: 4 kB / 429.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.1096, allocations: 91.81 kB / 429.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1096, allocations: 3.938 kB / 429.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.11, allocations: 131.5 kB / 430 MB, free: 15.73 MB / 366.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.001065/0.1111, allocations: 0.8822 MB / 430.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1113, allocations: 47.91 kB / 430.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1113, allocations: 0 / 430.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.1113, allocations: 32.05 kB / 430.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.1115, allocations: 15.98 kB / 431 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1133, allocations: 1.518 MB / 432.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1136, allocations: 0.6891 MB / 433.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.1136, allocations: 27.59 kB / 433.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.1137, allocations: 23.42 kB / 433.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1137, allocations: 0 / 433.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.142, allocations: 4.409 MB / 437.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.821, allocations: 15.06 kB / 437.6 MB, free: 8.094 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.147768842987716]