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.0006163/0.0006164, allocations: 94.81 kB / 17.3 MB, free: 6.34 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.0007392/0.0007392, allocations: 184.1 kB / 18.21 MB, free: 5.523 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.211/1.211, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004203/0.0004203, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07739/0.07782, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001211/0.07906, allocations: 1.07 MB / 330.1 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.09078, allocations: 12.18 MB / 342.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.09084, allocations: 0 / 342.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.09087, allocations: 7.984 kB / 342.3 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.09307, allocations: 0.8519 MB / 343.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.09421, allocations: 0.5327 MB / 343.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.09429, allocations: 59.72 kB / 343.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.09434, allocations: 8 kB / 343.8 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.09439, allocations: 31.84 kB / 343.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.09447, allocations: 31.89 kB / 343.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.09449, allocations: 4 kB / 343.8 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.09669, allocations: 1.561 MB / 345.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.09672, allocations: 15.97 kB / 345.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.09677, allocations: 49.56 kB / 345.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.09812, allocations: 1.072 MB / 346.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.09813, allocations: 0 / 346.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09814, allocations: 0 / 346.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.09815, allocations: 0 / 346.5 MB, free: 2.109 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.000573/0.09873, allocations: 0.5301 MB / 347.1 MB, free: 1.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09877, allocations: 12.03 kB / 347.1 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.09881, allocations: 34.73 kB / 347.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.777e-05/0.09891, allocations: 4.938 kB / 347.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.09904, allocations: 184.2 kB / 347.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.09906, allocations: 4.375 kB / 347.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.09907, allocations: 4.375 kB / 347.3 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.09922, allocations: 71.27 kB / 347.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.09923, allocations: 0 / 347.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.09925, allocations: 0 / 347.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.09926, allocations: 3.984 kB / 347.4 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.09936, allocations: 31.97 kB / 347.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.09952, allocations: 174.6 kB / 347.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.09978, allocations: 81.12 kB / 347.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.09985, allocations: 21.78 kB / 347.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005765/0.1056, allocations: 3.301 MB / 351 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1057, allocations: 34.56 kB / 351 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1057, allocations: 0 / 351 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002855/0.106, allocations: 81.52 kB / 351.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.106, allocations: 81.11 kB / 351.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.1061, allocations: 121.8 kB / 351.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1061, allocations: 29.7 kB / 351.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.1062, allocations: 84.14 kB / 351.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1062, allocations: 11.75 kB / 351.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.1062, allocations: 21.66 kB / 351.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.1063, allocations: 314.8 kB / 351.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.1064, allocations: 12 kB / 351.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.1064, allocations: 25.7 kB / 351.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.694e-05/0.1065, allocations: 37.7 kB / 351.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1066, allocations: 0 / 351.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001526/0.1067, allocations: 77.45 kB / 351.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1067, allocations: 10.66 kB / 351.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1068, allocations: 3.938 kB / 351.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1068, allocations: 480 / 351.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1068, allocations: 19.98 kB / 351.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1069, allocations: 0 / 351.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.1069, allocations: 0 / 351.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1069, allocations: 4 kB / 351.9 MB, free: 12 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.09e-05/0.107, allocations: 113.8 kB / 352 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.107, allocations: 11.84 kB / 352 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1073, allocations: 109.5 kB / 352.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1073, allocations: 0 / 352.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1073, allocations: 0 / 352.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1073, allocations: 3.984 kB / 352.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1074, allocations: 169.6 kB / 352.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1074, allocations: 3.938 kB / 352.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1075, allocations: 8 kB / 352.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1075, allocations: 0 / 352.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1075, allocations: 12 kB / 352.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1075, allocations: 3.938 kB / 352.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1075, allocations: 320 / 352.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1077, allocations: 93.97 kB / 352.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.1078, allocations: 104.9 kB / 352.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1078, allocations: 0 / 352.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1079, allocations: 8.188 kB / 352.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1079, allocations: 7.984 kB / 352.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1079, allocations: 8 kB / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.108, allocations: 95.25 kB / 352.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.108, allocations: 0 / 352.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006911/0.1087, allocations: 319.6 kB / 353 MB, free: 10.85 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.001298/0.11, allocations: 1.116 MB / 354.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1102, allocations: 39.91 kB / 354.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1102, allocations: 4 kB / 354.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.1102, allocations: 19.98 kB / 354.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1104, allocations: 8 kB / 354.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1119, allocations: 1.477 MB / 355.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.1121, allocations: 0.6848 MB / 356.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1122, allocations: 44.17 kB / 356.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1123, allocations: 27.36 kB / 356.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1123, allocations: 0 / 356.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1319, allocations: 10.22 MB / 366.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.1322, allocations: 209.2 kB / 366.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.267, allocations: 0 / 366.8 MB, free: 12.79 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