Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",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.001141/0.001141, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001136/0.001136, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.149/1.149, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001276/0.001276, allocations: 52.14 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07466, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00208/0.07678, allocations: 1.424 MB / 328.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.1004, allocations: 23.82 MB / 352.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1005, allocations: 0 / 352.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.1006, allocations: 7.922 kB / 352.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.1116, allocations: 5.039 MB / 357.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.1122, allocations: 326.9 kB / 357.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.1123, allocations: 75.7 kB / 357.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.1123, allocations: 4 kB / 357.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.1124, allocations: 39.89 kB / 357.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1124, allocations: 35.91 kB / 357.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1125, allocations: 7.938 kB / 357.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.1238, allocations: 8.683 MB / 366.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.1238, allocations: 23.91 kB / 366.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.1239, allocations: 27.86 kB / 366.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.1297, allocations: 4.429 MB / 370.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1297, allocations: 0 / 370.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1297, allocations: 0 / 370.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1298, allocations: 0 / 370.8 MB, free: 8.625 MB / 318.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.001467/0.1312, allocations: 0.9084 MB / 371.7 MB, free: 7.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1313, allocations: 8.031 kB / 371.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.1313, allocations: 30.75 kB / 371.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1313, allocations: 4.938 kB / 371.8 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1315, allocations: 203.6 kB / 372 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1315, allocations: 3.984 kB / 372 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.1315, allocations: 7.938 kB / 372 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1317, allocations: 71.39 kB / 372 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1317, allocations: 3.984 kB / 372 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1317, allocations: 0 / 372 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1317, allocations: 0 / 372 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1318, allocations: 31.98 kB / 372.1 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.132, allocations: 198.4 kB / 372.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1323, allocations: 97.17 kB / 372.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.1324, allocations: 29.77 kB / 372.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.1324, allocations: 16 kB / 372.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1325, allocations: 38.5 kB / 372.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1325, allocations: 0 / 372.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000273/0.1327, allocations: 101.5 kB / 372.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1328, allocations: 81.09 kB / 372.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1329, allocations: 137.8 kB / 372.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1329, allocations: 33.7 kB / 372.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.133, allocations: 84.14 kB / 372.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.133, allocations: 19.72 kB / 372.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.133, allocations: 21.7 kB / 372.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1331, allocations: 314.8 kB / 373.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.1332, allocations: 19.98 kB / 373.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.1333, allocations: 33.7 kB / 373.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1334, allocations: 49.64 kB / 373.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1334, allocations: 0 / 373.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001623/0.1336, allocations: 82.12 kB / 373.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1336, allocations: 4 kB / 373.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1336, allocations: 3.984 kB / 373.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.1336, allocations: 4 kB / 373.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.1337, allocations: 11.94 kB / 373.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1337, allocations: 3.938 kB / 373.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.1337, allocations: 11.94 kB / 373.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1338, allocations: 3.984 kB / 373.4 MB, free: 5.715 MB / 318.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.972e-05/0.1338, allocations: 117.8 kB / 373.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1339, allocations: 7.906 kB / 373.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1341, allocations: 97.48 kB / 373.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1341, allocations: 0 / 373.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1341, allocations: 4.125 kB / 373.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1341, allocations: 8 kB / 373.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1343, allocations: 181.6 kB / 373.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1343, allocations: 0 / 373.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1343, allocations: 11.98 kB / 373.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1343, allocations: 0 / 373.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1343, allocations: 4 kB / 373.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1344, allocations: 0 / 373.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1344, allocations: 0 / 373.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1345, allocations: 121.8 kB / 374 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1346, allocations: 89 kB / 374.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1346, allocations: 384 / 374.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1347, allocations: 11.98 kB / 374.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1348, allocations: 4 kB / 374.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1348, allocations: 0 / 374.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.1348, allocations: 123.1 kB / 374.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 374.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001623/0.1365, allocations: 0.9252 MB / 375.1 MB, free: 3.918 MB / 318.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.003732/0.1402, allocations: 1.897 MB / 377 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1404, allocations: 47.91 kB / 377.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1404, allocations: 0 / 377.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.659e-05/0.1405, allocations: 27.98 kB / 377.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.1407, allocations: 15.98 kB / 377.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1427, allocations: 1.789 MB / 378.9 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1093/0.2521, allocations: 0.6812 MB / 379.6 MB, free: 51.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.2522, allocations: 15.59 kB / 379.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2522, allocations: 20.84 kB / 379.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2522, allocations: 0 / 379.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/1.383, allocations: 30.6 MB / 410.2 MB, free: 33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.384, allocations: 257.2 kB / 410.5 MB, free: 32.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/5.057, allocations: 4 kB / 410.5 MB, free: 32.73 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches