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.001429/0.001429, allocations: 102.5 kB / 17.72 MB, free: 5.363 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.001664/0.001664, allocations: 191 kB / 18.66 MB, free: 4.434 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.336/1.336, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001332/0.001332, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08908, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002733/0.09186, allocations: 1.349 MB / 376 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1976/0.2895, allocations: 23.68 MB / 399.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.2896, allocations: 0 / 399.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2897, allocations: 15.73 kB / 399.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.3077, allocations: 5.634 MB / 405.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3087, allocations: 340.4 kB / 405.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3089, allocations: 75.44 kB / 405.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.309, allocations: 2.75 kB / 405.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3091, allocations: 32.42 kB / 405.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3093, allocations: 37.58 kB / 405.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3093, allocations: 4.125 kB / 405.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.3282, allocations: 8.75 MB / 414.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.3283, allocations: 15.97 kB / 414.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.3283, allocations: 27.92 kB / 414.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.3399, allocations: 4.342 MB / 418.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.34, allocations: 7.984 kB / 418.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.34, allocations: 0 / 418.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.34, allocations: 3.938 kB / 419 MB, free: 3.562 MB / 334.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.002893/0.3429, allocations: 0.8974 MB / 419.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.343, allocations: 8.031 kB / 419.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.343, allocations: 38.75 kB / 419.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3431, allocations: 4.844 kB / 419.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3433, allocations: 199.8 kB / 420.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3433, allocations: 6.531 kB / 420.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3433, allocations: 4 kB / 420.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3435, allocations: 71.39 kB / 420.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3436, allocations: 0 / 420.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3436, allocations: 0 / 420.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3436, allocations: 0 / 420.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3437, allocations: 39.91 kB / 420.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.3439, allocations: 190.5 kB / 420.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.3442, allocations: 97.12 kB / 420.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.3443, allocations: 37.7 kB / 420.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.3444, allocations: 11.98 kB / 420.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3444, allocations: 30.56 kB / 420.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3444, allocations: 0 / 420.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003302/0.3448, allocations: 104.5 kB / 420.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3448, allocations: 77.11 kB / 420.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3449, allocations: 141.8 kB / 420.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.345, allocations: 25.7 kB / 420.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.345, allocations: 92.11 kB / 421 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.3451, allocations: 23.66 kB / 421 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3451, allocations: 13.72 kB / 421 MB, free: 1.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3452, allocations: 330.8 kB / 421.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.3453, allocations: 11.98 kB / 421.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.3453, allocations: 34.58 kB / 421.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3455, allocations: 57.58 kB / 421.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3455, allocations: 0 / 421.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001813/0.3457, allocations: 81.52 kB / 421.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3457, allocations: 12 kB / 421.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3457, allocations: 2.812 kB / 421.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3457, allocations: 3.984 kB / 421.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.3458, allocations: 8 kB / 421.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3458, allocations: 4 kB / 421.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.3459, allocations: 0 / 421.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3459, allocations: 4 kB / 421.6 MB, free: 0.6719 MB / 334.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.884e-05/0.346, allocations: 121.7 kB / 421.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.346, allocations: 11.91 kB / 421.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3463, allocations: 100 kB / 421.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3463, allocations: 0 / 421.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3463, allocations: 0 / 421.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3463, allocations: 0 / 421.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3464, allocations: 181.5 kB / 422 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3464, allocations: 384 / 422 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.3465, allocations: 15.98 kB / 422 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3465, allocations: 0 / 422 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3465, allocations: 4 kB / 422 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3465, allocations: 11.88 kB / 422 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3465, allocations: 7.984 kB / 422 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.3468, allocations: 112.2 kB / 422.1 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.3468, allocations: 85.09 kB / 422.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3469, allocations: 5.438 kB / 422.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.3469, allocations: 0 / 422.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.347, allocations: 11.98 kB / 422.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.347, allocations: 8 kB / 422.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.3471, allocations: 107.3 kB / 422.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3471, allocations: 0 / 422.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003007/0.3501, allocations: 0.9251 MB / 423.3 MB, free: 14.88 MB / 350.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.006065/0.3562, allocations: 1.892 MB / 425.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3564, allocations: 51.91 kB / 425.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3564, allocations: 0 / 425.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.3565, allocations: 27.98 kB / 425.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3568, allocations: 20.7 kB / 425.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.36, allocations: 1.786 MB / 427 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3603, allocations: 0.6852 MB / 427.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.3603, allocations: 15.97 kB / 427.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.3604, allocations: 19.44 kB / 427.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3604, allocations: 0 / 427.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.42, allocations: 30.72 MB / 458.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.932/9.352, allocations: 19.64 kB / 458.5 MB, free: 11.4 MB / 382.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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