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.001197/0.001197, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001283/0.001283, allocations: 184.1 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.369/1.369, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001705/0.001705, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08998, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002456/0.09248, allocations: 1.365 MB / 376 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1921/0.2846, allocations: 23.67 MB / 399.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2847, allocations: 1.438 kB / 399.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2849, allocations: 10.38 kB / 399.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.3019, allocations: 5.632 MB / 405.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.3028, allocations: 341.2 kB / 405.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3029, allocations: 75.5 kB / 405.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.303, allocations: 6.5 kB / 405.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.303, allocations: 31.66 kB / 405.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3032, allocations: 46.33 kB / 405.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3032, allocations: 3.219 kB / 405.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.3211, allocations: 8.742 MB / 414.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3212, allocations: 18.19 kB / 414.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.3213, allocations: 25.38 kB / 414.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.3337, allocations: 4.362 MB / 419 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3338, allocations: 0 / 419 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.3338, allocations: 0 / 419 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3338, allocations: 3.938 kB / 419 MB, free: 3.664 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.003296/0.3371, allocations: 0.9278 MB / 419.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.3372, allocations: 8.031 kB / 419.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.3372, allocations: 42.73 kB / 419.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.3373, allocations: 8.891 kB / 420 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3375, allocations: 195.8 kB / 420.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3376, allocations: 7.984 kB / 420.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3376, allocations: 0 / 420.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3378, allocations: 71.39 kB / 420.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3378, allocations: 0 / 420.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3378, allocations: 3.938 kB / 420.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3378, allocations: 0 / 420.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.338, allocations: 39.91 kB / 420.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.3382, allocations: 190.5 kB / 420.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3386, allocations: 97.11 kB / 420.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.3387, allocations: 33.77 kB / 420.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.3388, allocations: 11.98 kB / 420.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3388, allocations: 38.55 kB / 420.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3388, allocations: 0 / 420.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003721/0.3392, allocations: 101.5 kB / 420.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3392, allocations: 77.11 kB / 420.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3394, allocations: 141.8 kB / 420.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3394, allocations: 25.7 kB / 421 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.3395, allocations: 88.14 kB / 421.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3395, allocations: 23.78 kB / 421.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.3396, allocations: 17.72 kB / 421.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3398, allocations: 322.8 kB / 421.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.3398, allocations: 15.98 kB / 421.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.3399, allocations: 30.58 kB / 421.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.34, allocations: 66.64 kB / 421.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.34, allocations: 0 / 421.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001987/0.3403, allocations: 81.56 kB / 421.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3403, allocations: 8 kB / 421.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3403, allocations: 0 / 421.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3403, allocations: 0 / 421.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.3404, allocations: 14.8 kB / 421.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3404, allocations: 4 kB / 421.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.3404, allocations: 0 / 421.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3405, allocations: 10.72 kB / 421.6 MB, free: 0.7266 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 9.297e-05/0.3406, allocations: 117.7 kB / 421.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.3406, allocations: 4 kB / 421.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3408, allocations: 111.3 kB / 421.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3409, allocations: 384 / 421.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3409, allocations: 0 / 421.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3409, allocations: 0 / 421.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3411, allocations: 177.6 kB / 422 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3411, allocations: 7.938 kB / 422 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3411, allocations: 15.94 kB / 422.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3411, allocations: 0 / 422.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3412, allocations: 0 / 422.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3412, allocations: 0 / 422.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3412, allocations: 4 kB / 422.1 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3414, allocations: 113.9 kB / 422.2 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.3415, allocations: 93.14 kB / 422.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3415, allocations: 3.938 kB / 422.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.3416, allocations: 0.875 kB / 422.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3416, allocations: 4 kB / 422.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3417, allocations: 11.98 kB / 422.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.3417, allocations: 107.2 kB / 422.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 422.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00297/0.3447, allocations: 0.9391 MB / 423.3 MB, free: 14.93 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.005127/0.3499, allocations: 1.906 MB / 425.2 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.3501, allocations: 55.91 kB / 425.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3501, allocations: 0 / 425.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.3502, allocations: 28.2 kB / 425.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3505, allocations: 17.11 kB / 425.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.3536, allocations: 1.797 MB / 427.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3539, allocations: 0.6852 MB / 427.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.354, allocations: 7.984 kB / 427.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.3541, allocations: 27.42 kB / 427.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3541, allocations: 0 / 427.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06644/0.4205, allocations: 30.68 MB / 458.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.083, allocations: 15.59 kB / 458.5 MB, free: 11.46 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