Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_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.001007/0.001007, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001084/0.001084, allocations: 190 kB / 18.07 MB, free: 5.414 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.286/1.286, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001169/0.001169, allocations: 47.94 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.07942, allocations: 46.62 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002539/0.08199, allocations: 1.409 MB / 328.1 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.09469, allocations: 12.37 MB / 340.5 MB, free: 6.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.09476, allocations: 4 kB / 340.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.09482, allocations: 3.984 kB / 340.5 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.09734, allocations: 0.8519 MB / 341.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.09874, allocations: 0.5327 MB / 341.9 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.09885, allocations: 67.66 kB / 341.9 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.09889, allocations: 0 / 341.9 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.09895, allocations: 31.91 kB / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.09904, allocations: 27.91 kB / 342 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.09906, allocations: 4 kB / 342 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.102, allocations: 1.565 MB / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1021, allocations: 4 kB / 343.6 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.1021, allocations: 35.78 kB / 343.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.1043, allocations: 1.068 MB / 344.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1044, allocations: 0 / 344.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1044, allocations: 4 kB / 344.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1044, allocations: 0 / 344.7 MB, free: 2.734 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.0009045/0.1053, allocations: 0.5379 MB / 345.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1053, allocations: 16.03 kB / 345.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1054, allocations: 34.69 kB / 345.3 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1055, allocations: 12.92 kB / 345.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1057, allocations: 184.2 kB / 345.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1057, allocations: 384 / 345.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1057, allocations: 4.375 kB / 345.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.106, allocations: 67.33 kB / 345.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.106, allocations: 0 / 345.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.106, allocations: 4 kB / 345.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.106, allocations: 7.984 kB / 345.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1061, allocations: 23.92 kB / 345.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1064, allocations: 170.6 kB / 345.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1066, allocations: 85.12 kB / 345.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.1067, allocations: 25.77 kB / 345.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006331/0.1131, allocations: 3.305 MB / 349.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1131, allocations: 30.56 kB / 349.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1131, allocations: 0 / 349.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003087/0.1134, allocations: 81.52 kB / 349.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1135, allocations: 77.11 kB / 349.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1136, allocations: 118.1 kB / 349.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1136, allocations: 29.7 kB / 349.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1136, allocations: 88.12 kB / 349.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1137, allocations: 23.66 kB / 349.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1137, allocations: 21.64 kB / 349.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.1138, allocations: 314.8 kB / 349.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.1139, allocations: 11.98 kB / 349.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.114, allocations: 29.66 kB / 349.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1141, allocations: 41.7 kB / 350 MB, free: 12.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1141, allocations: 0 / 350 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000172/0.1143, allocations: 81.95 kB / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1143, allocations: 4 kB / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1143, allocations: 0 / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1143, allocations: 0 / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.1144, allocations: 15.98 kB / 350.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1144, allocations: 4.062 kB / 350.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1144, allocations: 4 kB / 350.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1145, allocations: 4 kB / 350.1 MB, free: 12.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.844e-05/0.1145, allocations: 109.8 kB / 350.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1146, allocations: 15.83 kB / 350.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.1148, allocations: 105.4 kB / 350.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1148, allocations: 3.984 kB / 350.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1148, allocations: 0 / 350.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1148, allocations: 4 kB / 350.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.115, allocations: 165.6 kB / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.115, allocations: 3.938 kB / 350.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.115, allocations: 8 kB / 350.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1151, allocations: 4 kB / 350.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1151, allocations: 0 / 350.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1151, allocations: 3.984 kB / 350.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1151, allocations: 0 / 350.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1153, allocations: 109.8 kB / 350.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1154, allocations: 96.97 kB / 350.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1154, allocations: 0 / 350.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.1155, allocations: 7.984 kB / 350.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1155, allocations: 3.984 kB / 350.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1156, allocations: 8.188 kB / 350.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.1156, allocations: 91.28 kB / 350.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1156, allocations: 0 / 350.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007735/0.1164, allocations: 319.7 kB / 351.1 MB, free: 11.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001637/0.118, allocations: 1.12 MB / 352.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1182, allocations: 31.98 kB / 352.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1182, allocations: 0 / 352.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.1183, allocations: 19.92 kB / 352.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1185, allocations: 19.94 kB / 352.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1202, allocations: 1.464 MB / 353.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1206, allocations: 0.6886 MB / 354.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1207, allocations: 48.58 kB / 354.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.1208, allocations: 27.41 kB / 354.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1208, allocations: 0 / 354.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.158, allocations: 10.29 MB / 364.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.1582, allocations: 205.8 kB / 365 MB, free: 13.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.22, allocations: 0 / 365 MB, free: 13.29 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches