Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_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.0009286/0.0009287, allocations: 113.1 kB / 16.51 MB, free: 6.652 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.0008701/0.0008701, allocations: 198.7 kB / 17.43 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009686, allocations: 43.38 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08277, allocations: 49.44 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002474/0.08528, allocations: 1.422 MB / 350.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1854/0.2707, allocations: 25.33 MB / 376.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.2708, allocations: 0 / 376.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.2709, allocations: 6.5 kB / 376.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.2832, allocations: 4.934 MB / 381.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.2839, allocations: 316 kB / 381.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.284, allocations: 101.9 kB / 381.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.284, allocations: 6.188 kB / 381.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.2841, allocations: 29.02 kB / 381.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.2841, allocations: 37.7 kB / 381.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2842, allocations: 4.156 kB / 381.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.299, allocations: 8.9 MB / 390.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.2991, allocations: 20.56 kB / 390.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.2991, allocations: 24.8 kB / 390.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009256/0.3084, allocations: 4.442 MB / 395.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3084, allocations: 0 / 395.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3084, allocations: 4 kB / 395.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3084, allocations: 0 / 395.1 MB, free: 4.355 MB / 302.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.002577/0.311, allocations: 0.9128 MB / 396 MB, free: 3.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3111, allocations: 10.03 kB / 396 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.3111, allocations: 33.5 kB / 396 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.3112, allocations: 4.5 kB / 396 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3113, allocations: 207.4 kB / 396.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3113, allocations: 1.188 kB / 396.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3114, allocations: 4.797 kB / 396.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3115, allocations: 73.45 kB / 396.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3115, allocations: 0 / 396.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3116, allocations: 6.203 kB / 396.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3116, allocations: 3.938 kB / 396.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3117, allocations: 35.3 kB / 396.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.3119, allocations: 189.8 kB / 396.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3121, allocations: 99.39 kB / 396.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.3122, allocations: 30.98 kB / 396.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.3123, allocations: 8.156 kB / 396.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3123, allocations: 40.56 kB / 396.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3123, allocations: 0 / 396.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002966/0.3126, allocations: 102.3 kB / 396.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.3127, allocations: 81.09 kB / 396.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.3128, allocations: 142.8 kB / 397 MB, free: 2.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3128, allocations: 25.7 kB / 397 MB, free: 2.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.3128, allocations: 87.05 kB / 397.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3128, allocations: 17.48 kB / 397.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3129, allocations: 24.64 kB / 397.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.3129, allocations: 321.5 kB / 397.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.313, allocations: 15.33 kB / 397.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.3131, allocations: 31.55 kB / 397.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3132, allocations: 54.09 kB / 397.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3132, allocations: 0 / 397.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001699/0.3134, allocations: 85.59 kB / 397.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3134, allocations: 7.656 kB / 397.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3134, allocations: 2.031 kB / 397.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3134, allocations: 0 / 397.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.3135, allocations: 10.12 kB / 397.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3135, allocations: 0 / 397.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.3135, allocations: 10.12 kB / 397.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3136, allocations: 6.422 kB / 397.7 MB, free: 2.043 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 6.027e-05/0.3136, allocations: 119.2 kB / 397.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3137, allocations: 6.125 kB / 397.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3139, allocations: 100.6 kB / 397.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3139, allocations: 2.344 kB / 397.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3139, allocations: 0 / 397.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3139, allocations: 0 / 397.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.873e-05/0.314, allocations: 176.8 kB / 398.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.314, allocations: 3.719 kB / 398.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.3141, allocations: 10.14 kB / 398.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3141, allocations: 10.56 kB / 398.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3141, allocations: 0 / 398.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3141, allocations: 3.062 kB / 398.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3141, allocations: 0 / 398.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3143, allocations: 117.5 kB / 398.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3144, allocations: 87.94 kB / 398.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3144, allocations: 4 kB / 398.3 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3145, allocations: 10.8 kB / 398.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.3145, allocations: 3.531 kB / 398.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.3145, allocations: 5.562 kB / 398.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.3146, allocations: 114.1 kB / 398.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3146, allocations: 3.938 kB / 398.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002999/0.3176, allocations: 0.9397 MB / 399.4 MB, free: 1.113 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.00581/0.3234, allocations: 1.868 MB / 401.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3236, allocations: 53.91 kB / 401.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3237, allocations: 4 kB / 401.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.3237, allocations: 23.98 kB / 401.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.324, allocations: 17.16 kB / 401.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.3273, allocations: 1.793 MB / 403.2 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3276, allocations: 0.6848 MB / 403.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.3276, allocations: 16.42 kB / 403.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.3277, allocations: 27.36 kB / 403.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3277, allocations: 0 / 403.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.196/1.524, allocations: 29.1 MB / 433 MB, free: 15.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003626/1.524, allocations: 243 kB / 433.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.275/5.799, allocations: 0 / 433.2 MB, free: 15.59 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches