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.001054/0.001054, allocations: 110.5 kB / 17.73 MB, free: 5.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.001084/0.001084, allocations: 183 kB / 18.66 MB, free: 4.387 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.257/1.257, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001153/0.001153, allocations: 43.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07992/0.08108, 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.002506/0.08363, allocations: 1.365 MB / 376 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.187/0.2707, allocations: 23.68 MB / 399.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.2708, allocations: 1.156 kB / 399.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2709, allocations: 6.516 kB / 399.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.288, allocations: 5.639 MB / 405.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.2889, allocations: 339.8 kB / 405.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.289, allocations: 76.91 kB / 405.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.2891, allocations: 2.75 kB / 405.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.2892, allocations: 27.05 kB / 405.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.2893, allocations: 46.89 kB / 405.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2893, allocations: 2.75 kB / 405.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01819/0.3075, allocations: 8.743 MB / 414.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.3076, allocations: 17.66 kB / 414.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.3077, allocations: 25.98 kB / 414.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.321, allocations: 4.344 MB / 418.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3211, allocations: 0 / 418.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.3211, allocations: 0 / 418.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3211, allocations: 3.938 kB / 418.9 MB, free: 3.531 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.003922/0.325, allocations: 0.9091 MB / 419.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3251, allocations: 8.031 kB / 419.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.3251, allocations: 30.75 kB / 419.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3252, allocations: 12.78 kB / 419.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3255, allocations: 199.8 kB / 420.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3255, allocations: 0 / 420.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3255, allocations: 4 kB / 420.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3258, allocations: 75.19 kB / 420.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3258, allocations: 4 kB / 420.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3259, allocations: 0 / 420.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3259, allocations: 0 / 420.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.326, allocations: 39.91 kB / 420.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.3263, allocations: 186.5 kB / 420.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3267, allocations: 101.1 kB / 420.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.3268, allocations: 25.77 kB / 420.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3269, allocations: 15.97 kB / 420.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.327, allocations: 38.56 kB / 420.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.327, allocations: 3.938 kB / 420.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003424/0.3273, allocations: 101.6 kB / 420.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.3274, allocations: 77.11 kB / 420.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3275, allocations: 137.8 kB / 420.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3276, allocations: 25.7 kB / 420.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3277, allocations: 88.14 kB / 421 MB, free: 1.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.3277, allocations: 19.64 kB / 421 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3278, allocations: 21.72 kB / 421 MB, free: 1.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.328, allocations: 326.8 kB / 421.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.328, allocations: 12.88 kB / 421.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.3281, allocations: 37.64 kB / 421.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3282, allocations: 54.7 kB / 421.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3282, allocations: 0 / 421.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001746/0.3284, allocations: 84.11 kB / 421.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3284, allocations: 8 kB / 421.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3285, allocations: 0 / 421.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3285, allocations: 4 kB / 421.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.3286, allocations: 11.98 kB / 421.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3286, allocations: 0 / 421.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3286, allocations: 8 kB / 421.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3286, allocations: 0 / 421.6 MB, free: 0.6328 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 0.0001039/0.3287, allocations: 117.7 kB / 421.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.3288, allocations: 7.906 kB / 421.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.3291, allocations: 105.3 kB / 421.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3291, allocations: 0 / 421.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3291, allocations: 4 kB / 421.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3291, allocations: 0 / 421.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3293, allocations: 185.5 kB / 422 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3293, allocations: 0 / 422 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.3294, allocations: 11.94 kB / 422 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3294, allocations: 0 / 422 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3294, allocations: 4.5 kB / 422 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3294, allocations: 8.359 kB / 422 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3294, allocations: 0 / 422 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3297, allocations: 114.8 kB / 422.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.3298, allocations: 85.09 kB / 422.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3298, allocations: 3.938 kB / 422.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3299, allocations: 8 kB / 422.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.33, allocations: 15.92 kB / 422.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.33, allocations: 3.625 kB / 422.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.3301, allocations: 111.3 kB / 422.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3301, allocations: 0 / 422.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003507/0.3336, allocations: 0.929 MB / 423.3 MB, free: 14.84 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.005944/0.3395, allocations: 1.89 MB / 425.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3398, allocations: 51.89 kB / 425.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3398, allocations: 0 / 425.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.3399, allocations: 35.92 kB / 425.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3401, allocations: 22.34 kB / 425.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.3435, allocations: 1.775 MB / 427 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3439, allocations: 0.6891 MB / 427.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.344, allocations: 11.97 kB / 427.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.344, allocations: 19.44 kB / 427.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.344, allocations: 0 / 427.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06098/0.405, allocations: 30.72 MB / 458.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.783, allocations: 15.58 kB / 458.5 MB, free: 11.37 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