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.001167/0.001167, allocations: 105.6 kB / 17.58 MB, free: 5.422 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.001137/0.001137, allocations: 187.9 kB / 18.5 MB, free: 4.516 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.116/1.116, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001047/0.001047, allocations: 52.14 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07535/0.07641, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002021/0.07846, allocations: 1.338 MB / 328.7 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.09464, allocations: 12.09 MB / 340.8 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.09472, allocations: 4 kB / 340.8 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.09478, allocations: 7.922 kB / 340.8 MB, free: 6.879 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.09756, allocations: 1.046 MB / 341.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.09867, allocations: 0.6257 MB / 342.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.09876, allocations: 71.7 kB / 342.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.0988, allocations: 3.938 kB / 342.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.09884, allocations: 27.92 kB / 342.6 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.09892, allocations: 35.83 kB / 342.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.09894, allocations: 4 kB / 342.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.1011, allocations: 1.569 MB / 344.2 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1011, allocations: 15.91 kB / 344.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1011, allocations: 27.86 kB / 344.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.1025, allocations: 1.068 MB / 345.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1025, allocations: 0 / 345.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1025, allocations: 4 kB / 345.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1025, allocations: 0 / 345.3 MB, free: 2.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.0005682/0.1031, allocations: 0.5418 MB / 345.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1031, allocations: 8.031 kB / 345.9 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.1032, allocations: 34.73 kB / 345.9 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1033, allocations: 12.94 kB / 345.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1034, allocations: 184.2 kB / 346.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1034, allocations: 8.375 kB / 346.1 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.1034, allocations: 384 / 346.1 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1036, allocations: 71.27 kB / 346.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1036, allocations: 4 kB / 346.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1036, allocations: 4 kB / 346.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1036, allocations: 0 / 346.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.1037, allocations: 15.98 kB / 346.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1039, allocations: 178.6 kB / 346.4 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1041, allocations: 89.11 kB / 346.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.1042, allocations: 21.78 kB / 346.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005721/0.1099, allocations: 3.297 MB / 349.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.11, allocations: 34.56 kB / 349.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.11, allocations: 0 / 349.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002687/0.1103, allocations: 89.5 kB / 349.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1103, allocations: 81.11 kB / 350 MB, free: 13.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.1104, allocations: 117.8 kB / 350.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1104, allocations: 29.7 kB / 350.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.1105, allocations: 84.12 kB / 350.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1105, allocations: 23.66 kB / 350.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1106, allocations: 21.7 kB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1107, allocations: 318.8 kB / 350.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.1107, allocations: 15.98 kB / 350.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.1108, allocations: 25.7 kB / 350.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1109, allocations: 37.7 kB / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1109, allocations: 0 / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001527/0.1111, allocations: 73.55 kB / 350.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1111, allocations: 4 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1111, allocations: 4 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1111, allocations: 4 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.1112, allocations: 8 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1112, allocations: 0 / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.1112, allocations: 8.453 kB / 350.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1112, allocations: 0 / 350.7 MB, free: 12.24 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 7.391e-05/0.1113, allocations: 117.8 kB / 350.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1114, allocations: 11.84 kB / 350.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1116, allocations: 105.5 kB / 351 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1116, allocations: 4 kB / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1116, allocations: 0 / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1116, allocations: 0 / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1117, allocations: 161.7 kB / 351.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1117, allocations: 3.938 kB / 351.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.1118, allocations: 28.05 kB / 351.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1118, allocations: 7.938 kB / 351.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1118, allocations: 0 / 351.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1118, allocations: 0 / 351.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1118, allocations: 4 kB / 351.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.112, allocations: 93.88 kB / 351.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1121, allocations: 96.97 kB / 351.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1121, allocations: 4 kB / 351.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1122, allocations: 4 kB / 351.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1122, allocations: 11.98 kB / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1122, allocations: 0 / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.1123, allocations: 95.27 kB / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1123, allocations: 0 / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1129, allocations: 319.6 kB / 351.8 MB, free: 11.09 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.001234/0.1141, allocations: 1.12 MB / 352.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1143, allocations: 43.91 kB / 352.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1143, allocations: 0 / 352.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.1144, allocations: 23.94 kB / 353 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1145, allocations: 12.53 kB / 353 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1159, allocations: 1.442 MB / 354.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1161, allocations: 0.6846 MB / 355.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.736e-05/0.1162, allocations: 47.86 kB / 355.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.1163, allocations: 23.42 kB / 355.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1163, allocations: 4 kB / 355.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.607/0.7233, allocations: 10.49 MB / 365.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.971, allocations: 8.266 kB / 365.7 MB, free: 12.96 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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