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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 112.2 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 224 MB, free: 12.36 MB / 190.1 MB 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.001108/0.001108, allocations: 51.92 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08882, allocations: 46.63 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002381/0.09123, allocations: 1.409 MB / 328.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007627/0.09888, allocations: 7.116 MB / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.09894, allocations: 0 / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.09901, allocations: 7.984 kB / 335.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.09992, allocations: 255.2 kB / 335.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1013, allocations: 0.6314 MB / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.1015, allocations: 51.73 kB / 336.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.1015, allocations: 7.984 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1016, allocations: 31.86 kB / 336.4 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.1022, allocations: 415.1 kB / 336.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1023, allocations: 4 kB / 336.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1033, allocations: 0.7329 MB / 337.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1033, allocations: 11.94 kB / 337.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1033, allocations: 23.86 kB / 337.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.1042, allocations: 0.5731 MB / 338.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1042, allocations: 0 / 338.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1042, allocations: 0 / 338.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1042, allocations: 0 / 338.1 MB, free: 9.375 MB / 286.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.000554/0.1047, allocations: 471.1 kB / 338.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1048, allocations: 8.031 kB / 338.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1048, allocations: 34.73 kB / 338.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1049, allocations: 8.938 kB / 338.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.105, allocations: 196.1 kB / 338.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1051, allocations: 4.375 kB / 338.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1051, allocations: 4.375 kB / 338.8 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1052, allocations: 63.33 kB / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1052, allocations: 0 / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1052, allocations: 0 / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1053, allocations: 3.938 kB / 338.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.1053, allocations: 27.92 kB / 338.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.1055, allocations: 170.6 kB / 339.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1058, allocations: 77.25 kB / 339.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.371e-05/0.1058, allocations: 33.64 kB / 339.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/0.1068, allocations: 1.548 MB / 340.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1068, allocations: 34.56 kB / 340.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1068, allocations: 0 / 340.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002667/0.1071, allocations: 85.5 kB / 340.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1071, allocations: 81.05 kB / 341 MB, free: 5.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.1072, allocations: 113.8 kB / 341.1 MB, free: 5.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1072, allocations: 25.7 kB / 341.1 MB, free: 5.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1073, allocations: 84.14 kB / 341.2 MB, free: 5.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1073, allocations: 27.64 kB / 341.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.1074, allocations: 21.72 kB / 341.2 MB, free: 5.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1075, allocations: 314.8 kB / 341.5 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.1075, allocations: 15.98 kB / 341.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1076, allocations: 43.42 kB / 341.6 MB, free: 5.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1077, allocations: 55.36 kB / 341.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1077, allocations: 0 / 341.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.1079, allocations: 85.48 kB / 341.7 MB, free: 5.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.108, allocations: 8.062 kB / 341.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.108, allocations: 0 / 341.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.108, allocations: 4 kB / 341.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.108, allocations: 15.98 kB / 341.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1081, allocations: 0 / 341.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1081, allocations: 11.91 kB / 341.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1081, allocations: 7.984 kB / 341.8 MB, free: 5.102 MB / 286.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 6.529e-05/0.1082, allocations: 113.8 kB / 341.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1082, allocations: 7.938 kB / 341.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.1086, allocations: 117.4 kB / 342 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1086, allocations: 4.562 kB / 342 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1086, allocations: 0 / 342 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1086, allocations: 0 / 342 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1087, allocations: 181.5 kB / 342.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1088, allocations: 7.938 kB / 342.2 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.1088, allocations: 23.92 kB / 342.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1089, allocations: 0 / 342.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1089, allocations: 0 / 342.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1089, allocations: 0 / 342.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1089, allocations: 4 kB / 342.2 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1091, allocations: 142.3 kB / 342.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1092, allocations: 97.03 kB / 342.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1092, allocations: 0 / 342.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.1093, allocations: 8 kB / 342.5 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1093, allocations: 4 kB / 342.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1093, allocations: 3.984 kB / 342.5 MB, free: 4.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.347e-05/0.1094, allocations: 91.34 kB / 342.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1094, allocations: 0 / 342.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.1098, allocations: 175.8 kB / 342.7 MB, free: 4.039 MB / 286.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.001123/0.111, allocations: 0.9384 MB / 343.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1111, allocations: 51.91 kB / 343.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1112, allocations: 0 / 343.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.1113, allocations: 35.91 kB / 343.8 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.1114, allocations: 12 kB / 343.8 MB, free: 2.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.113, allocations: 1.525 MB / 345.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1132, allocations: 0.6923 MB / 346 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.1133, allocations: 27.75 kB / 346 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.1134, allocations: 27.42 kB / 346 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1134, allocations: 0 / 346 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1315, allocations: 5.076 MB / 351.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/0.1318, allocations: 272.5 kB / 351.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.041, allocations: 0 / 351.4 MB, free: 11.12 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/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","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches