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.001257/0.001257, allocations: 114.7 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.001518/0.001518, 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.199/1.199, allocations: 205.1 MB / 224.1 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.001116/0.001116, allocations: 47.92 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07368, allocations: 46.63 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002512/0.07623, allocations: 1.405 MB / 328.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.08801, allocations: 12.03 MB / 340.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.08808, allocations: 0 / 340.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.08815, allocations: 0 / 340.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.0909, allocations: 0.9144 MB / 341.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.09285, allocations: 0.564 MB / 341.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.09297, allocations: 55.72 kB / 341.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.09301, allocations: 11.94 kB / 341.9 MB, free: 5.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.09307, allocations: 23.91 kB / 341.9 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.09315, allocations: 35.91 kB / 341.9 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.09317, allocations: 8 kB / 341.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.09568, allocations: 1.588 MB / 343.5 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.09571, allocations: 11.94 kB / 343.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.09576, allocations: 27.91 kB / 343.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.09762, allocations: 1.076 MB / 344.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09764, allocations: 0 / 344.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09765, allocations: 0 / 344.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.09766, allocations: 0 / 344.6 MB, free: 2.855 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.0007562/0.09842, allocations: 0.5418 MB / 345.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.551e-05/0.09851, allocations: 16.03 kB / 345.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.09855, allocations: 30.75 kB / 345.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.09867, allocations: 8.922 kB / 345.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.09881, allocations: 184.2 kB / 345.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.09882, allocations: 384 / 345.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.09884, allocations: 12.38 kB / 345.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.09899, allocations: 67.27 kB / 345.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.09901, allocations: 0 / 345.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.09903, allocations: 7.984 kB / 345.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.09904, allocations: 0 / 345.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.09914, allocations: 23.98 kB / 345.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.09934, allocations: 174.5 kB / 345.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.0996, allocations: 89.16 kB / 345.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.09967, allocations: 25.77 kB / 345.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006119/0.1058, allocations: 3.293 MB / 349.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1058, allocations: 38.5 kB / 349.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1058, allocations: 0 / 349.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002707/0.1061, allocations: 85.52 kB / 349.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.1062, allocations: 81.09 kB / 349.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.1063, allocations: 113.8 kB / 349.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1063, allocations: 37.7 kB / 349.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.1064, allocations: 80.14 kB / 349.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1064, allocations: 23.66 kB / 349.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1065, allocations: 21.7 kB / 349.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.1065, allocations: 314.8 kB / 349.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.1066, allocations: 15.98 kB / 349.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.1067, allocations: 21.7 kB / 349.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1068, allocations: 46.02 kB / 349.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1068, allocations: 0 / 349.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000153/0.1069, allocations: 69.61 kB / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.107, allocations: 11.98 kB / 350 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.107, allocations: 0 / 350 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.107, allocations: 0 / 350 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.1071, allocations: 11.94 kB / 350 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1071, allocations: 4 kB / 350 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.1071, allocations: 4 kB / 350 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1071, allocations: 7.984 kB / 350.1 MB, free: 12.71 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.853e-05/0.1072, allocations: 109.8 kB / 350.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1072, allocations: 11.84 kB / 350.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.1075, allocations: 105.5 kB / 350.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1075, allocations: 0 / 350.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1075, allocations: 0 / 350.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1075, allocations: 0 / 350.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1076, allocations: 169.6 kB / 350.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1076, allocations: 3.938 kB / 350.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1077, allocations: 15.92 kB / 350.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1077, allocations: 0 / 350.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1077, allocations: 12.12 kB / 350.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1077, allocations: 0 / 350.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1077, allocations: 0 / 350.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1079, allocations: 101.9 kB / 350.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.108, allocations: 96.97 kB / 350.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.108, allocations: 0 / 350.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1081, allocations: 0 / 350.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1081, allocations: 19.86 kB / 350.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1081, allocations: 4 kB / 350.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.1082, allocations: 95.27 kB / 350.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1082, allocations: 0 / 350.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.1089, allocations: 323.6 kB / 351.1 MB, free: 11.56 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.001436/0.1103, allocations: 1.116 MB / 352.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1105, allocations: 40.03 kB / 352.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1105, allocations: 0 / 352.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.1106, allocations: 19.94 kB / 352.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.1108, allocations: 24.53 kB / 352.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1123, allocations: 1.451 MB / 353.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1125, allocations: 0.6885 MB / 354.4 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1126, allocations: 47.84 kB / 354.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.1127, allocations: 27.42 kB / 354.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1127, allocations: 4 kB / 354.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5143/0.627, allocations: 10.36 MB / 364.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.6274, allocations: 209.9 kB / 365.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.554, allocations: 7.938 kB / 365.1 MB, free: 13.33 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