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.001146/0.001146, allocations: 107.1 kB / 17.15 MB, free: 6.309 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.00117/0.00117, allocations: 198 kB / 18.07 MB, free: 5.41 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.183/1.183, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001064/0.001064, allocations: 51.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06896/0.07003, allocations: 46.63 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002008/0.07208, allocations: 1.409 MB / 328.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006853/0.07894, allocations: 7.304 MB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.07898, allocations: 0 / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.07901, allocations: 0 / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006764/0.07969, allocations: 243.2 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.08072, allocations: 0.5843 MB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.08079, allocations: 59.67 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.675e-05/0.08082, allocations: 7.984 kB / 336.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.08091, allocations: 35.84 kB / 336.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.08154, allocations: 415.1 kB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.08156, allocations: 0 / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.08248, allocations: 0.7251 MB / 337.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.08251, allocations: 7.922 kB / 337.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.08254, allocations: 23.92 kB / 337.5 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.08325, allocations: 0.5733 MB / 338.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.08327, allocations: 0 / 338.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.08327, allocations: 4 kB / 338.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.08328, allocations: 0 / 338.1 MB, free: 9.371 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.0004413/0.08373, allocations: 467.1 kB / 338.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.08376, allocations: 8.031 kB / 338.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.0838, allocations: 34.75 kB / 338.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.08382, allocations: 0.9375 kB / 338.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.08399, allocations: 188.2 kB / 338.8 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.08401, allocations: 8.375 kB / 338.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.08403, allocations: 384 / 338.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.08416, allocations: 71.27 kB / 338.8 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.08417, allocations: 0 / 338.8 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.08418, allocations: 0 / 338.8 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.08419, allocations: 0 / 338.8 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.08427, allocations: 27.91 kB / 338.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.08442, allocations: 170.6 kB / 339 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.08466, allocations: 85.12 kB / 339.1 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.08473, allocations: 21.77 kB / 339.1 MB, free: 8.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.08553, allocations: 1.544 MB / 340.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.08556, allocations: 38.56 kB / 340.7 MB, free: 6.188 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.08557, allocations: 0 / 340.7 MB, free: 6.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002427/0.08581, allocations: 81.5 kB / 340.8 MB, free: 6.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.08587, allocations: 85.09 kB / 340.9 MB, free: 6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.08594, allocations: 113.8 kB / 341 MB, free: 5.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.08596, allocations: 25.7 kB / 341 MB, free: 5.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.086, allocations: 88.14 kB / 341.1 MB, free: 5.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.08603, allocations: 19.66 kB / 341.1 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.08607, allocations: 29.7 kB / 341.1 MB, free: 5.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.08616, allocations: 310.8 kB / 341.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.08623, allocations: 15.98 kB / 341.5 MB, free: 5.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.0863, allocations: 39.73 kB / 341.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.08642, allocations: 63.3 kB / 341.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.08643, allocations: 0 / 341.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001673/0.0866, allocations: 85.53 kB / 341.6 MB, free: 5.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.08662, allocations: 4 kB / 341.7 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.08663, allocations: 4 kB / 341.7 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.08664, allocations: 0 / 341.7 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.08671, allocations: 16 kB / 341.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.08672, allocations: 8.141 kB / 341.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.08677, allocations: 11.91 kB / 341.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.08679, allocations: 11.98 kB / 341.7 MB, free: 5.105 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 5.43e-05/0.08685, allocations: 105.8 kB / 341.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.08687, allocations: 7.938 kB / 341.8 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.08718, allocations: 121.9 kB / 341.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.08719, allocations: 4.078 kB / 341.9 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0872, allocations: 3.984 kB / 341.9 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.08721, allocations: 0 / 341.9 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.08732, allocations: 177.5 kB / 342.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/0.08734, allocations: 7.922 kB / 342.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.08742, allocations: 15.94 kB / 342.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.08742, allocations: 3.938 kB / 342.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.08744, allocations: 0 / 342.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.08744, allocations: 4 kB / 342.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08745, allocations: 4 kB / 342.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.0877, allocations: 138 kB / 342.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.08776, allocations: 88.94 kB / 342.4 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.08778, allocations: 4 kB / 342.4 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.08782, allocations: 7.938 kB / 342.4 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.08786, allocations: 12.05 kB / 342.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.08787, allocations: 4 kB / 342.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.08791, allocations: 87.27 kB / 342.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08792, allocations: 0 / 342.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.08832, allocations: 175.9 kB / 342.7 MB, free: 4.051 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.001023/0.08935, allocations: 0.9423 MB / 343.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.08952, allocations: 51.84 kB / 343.6 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.08953, allocations: 0 / 343.6 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.08961, allocations: 32.11 kB / 343.7 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.08979, allocations: 8 kB / 343.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.09115, allocations: 1.526 MB / 345.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.09135, allocations: 0.6888 MB / 345.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.09143, allocations: 35.69 kB / 345.9 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.09147, allocations: 23.42 kB / 346 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09148, allocations: 0 / 346 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.286, allocations: 4.997 MB / 351 MB, free: 11.56 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/1.287, allocations: 288.2 kB / 351.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.461, allocations: 0 / 351.2 MB, free: 11.18 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