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.001127/0.001127, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.001126/0.001126, allocations: 192 kB / 18.51 MB, free: 4.508 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.288/1.288, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001141/0.001141, allocations: 51.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.08021, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002756/0.08301, allocations: 1.353 MB / 328.7 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.09129, allocations: 7.149 MB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.09138, allocations: 0 / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.09144, allocations: 3.938 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.09255, allocations: 282.9 kB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.09412, allocations: 0.6855 MB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.09423, allocations: 55.72 kB / 336.9 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.992e-05/0.09428, allocations: 8 kB / 336.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.09439, allocations: 35.86 kB / 336.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.09511, allocations: 359.3 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.09514, allocations: 11.94 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.09641, allocations: 0.7135 MB / 338 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.09644, allocations: 8 kB / 338 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.09648, allocations: 15.88 kB / 338 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.09746, allocations: 0.5614 MB / 338.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09748, allocations: 3.938 kB / 338.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09748, allocations: 0 / 338.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.0975, allocations: 0 / 338.6 MB, free: 9.09 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.0005848/0.09809, allocations: 463.2 kB / 339.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.09814, allocations: 8.031 kB / 339.1 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.09817, allocations: 38.75 kB / 339.1 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.09821, allocations: 0.9375 kB / 339.1 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.09842, allocations: 188.2 kB / 339.3 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.09845, allocations: 4.375 kB / 339.3 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.09847, allocations: 4.312 kB / 339.3 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.09863, allocations: 71.27 kB / 339.4 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.09864, allocations: 4 kB / 339.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.09866, allocations: 0 / 339.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.09867, allocations: 0 / 339.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.09875, allocations: 23.97 kB / 339.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.09893, allocations: 166.5 kB / 339.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.09922, allocations: 85.16 kB / 339.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.0993, allocations: 25.77 kB / 339.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009824/0.1003, allocations: 1.552 MB / 341.2 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1003, allocations: 30.56 kB / 341.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1003, allocations: 0 / 341.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002824/0.1006, allocations: 89.5 kB / 341.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1007, allocations: 77.11 kB / 341.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.1008, allocations: 113.8 kB / 341.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1008, allocations: 29.64 kB / 341.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1008, allocations: 84.14 kB / 341.6 MB, free: 5.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.1009, allocations: 23.64 kB / 341.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1009, allocations: 21.72 kB / 341.7 MB, free: 5.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1011, allocations: 322.8 kB / 342 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.1011, allocations: 8 kB / 342 MB, free: 5.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1012, allocations: 39.42 kB / 342 MB, free: 5.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1013, allocations: 63.34 kB / 342.1 MB, free: 4.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1014, allocations: 4 kB / 342.1 MB, free: 4.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001939/0.1016, allocations: 81.55 kB / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1016, allocations: 4 kB / 342.2 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1016, allocations: 4.469 kB / 342.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1016, allocations: 0 / 342.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.1017, allocations: 19.92 kB / 342.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1017, allocations: 0 / 342.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1018, allocations: 7.906 kB / 342.2 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1018, allocations: 12.06 kB / 342.2 MB, free: 4.832 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 8.908e-05/0.1019, allocations: 113.8 kB / 342.3 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1019, allocations: 7.938 kB / 342.3 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.1023, allocations: 117.5 kB / 342.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.1023, allocations: 0 / 342.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1023, allocations: 7.938 kB / 342.5 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1024, allocations: 0 / 342.5 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1025, allocations: 182 kB / 342.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1025, allocations: 3.938 kB / 342.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1026, allocations: 19.92 kB / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1026, allocations: 0 / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1026, allocations: 0 / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1027, allocations: 4 kB / 342.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1027, allocations: 3.984 kB / 342.7 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1029, allocations: 137.9 kB / 342.8 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.103, allocations: 96.92 kB / 342.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1031, allocations: 4 kB / 342.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1031, allocations: 3.984 kB / 342.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.1031, allocations: 11.94 kB / 342.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1032, allocations: 4 kB / 342.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.1032, allocations: 87.27 kB / 343 MB, free: 3.941 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1032, allocations: 4.062 kB / 343 MB, free: 3.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000535/0.1038, allocations: 171.9 kB / 343.2 MB, free: 3.77 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.001315/0.1051, allocations: 0.9403 MB / 344.1 MB, free: 2.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1053, allocations: 51.89 kB / 344.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1053, allocations: 0 / 344.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1054, allocations: 27.98 kB / 344.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.1056, allocations: 15.98 kB / 344.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.1072, allocations: 1.515 MB / 345.7 MB, free: 1.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1075, allocations: 0.6885 MB / 346.4 MB, free: 384 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.809e-05/0.1076, allocations: 35.69 kB / 346.5 MB, free: 348 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.1076, allocations: 23.44 kB / 346.5 MB, free: 324 kB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1076, allocations: 96 / 346.5 MB, free: 324 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.1413, allocations: 5.133 MB / 351.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.601, allocations: 8.453 kB / 351.6 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","/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) Reference file matches