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.001814/0.001814, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.00325/0.00325, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.002621/0.002621, allocations: 60.3 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1602, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.004627/0.1649, allocations: 1.365 MB / 328.7 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.05639/0.2214, allocations: 23.68 MB / 352.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.2215, allocations: 0 / 352.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2217, allocations: 7.938 kB / 352.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02842/0.2502, allocations: 5.636 MB / 358.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.2518, allocations: 342.8 kB / 358.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.252, allocations: 75.69 kB / 358.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.2521, allocations: 0 / 358.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.2522, allocations: 27.92 kB / 358.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.2523, allocations: 47.83 kB / 358.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2524, allocations: 4 kB / 358.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03139/0.2838, allocations: 8.582 MB / 367.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.2839, allocations: 19.91 kB / 367.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.2841, allocations: 23.88 kB / 367.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.303, allocations: 4.351 MB / 371.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.3031, allocations: 0 / 371.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3031, allocations: 0 / 371.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3031, allocations: 0 / 371.5 MB, free: 8.098 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.004673/0.3078, allocations: 0.8968 MB / 372.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.059e-05/0.3079, allocations: 11.97 kB / 372.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.308, allocations: 38.73 kB / 372.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.3081, allocations: 4.938 kB / 372.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3085, allocations: 199.5 kB / 372.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.3085, allocations: 8 kB / 372.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3086, allocations: 4 kB / 372.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3089, allocations: 71.38 kB / 372.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3089, allocations: 0 / 372.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3089, allocations: 0 / 372.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3089, allocations: 0 / 372.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3092, allocations: 39.91 kB / 372.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.3096, allocations: 194.5 kB / 373 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.3101, allocations: 97.11 kB / 373.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.3103, allocations: 29.77 kB / 373.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.51e-05/0.3104, allocations: 15.98 kB / 373.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.3105, allocations: 34.56 kB / 373.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.3105, allocations: 0 / 373.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006099/0.3111, allocations: 105.5 kB / 373.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.3112, allocations: 81.11 kB / 373.3 MB, free: 6.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3114, allocations: 133.8 kB / 373.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.3115, allocations: 29.7 kB / 373.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.3116, allocations: 88.14 kB / 373.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.3116, allocations: 19.72 kB / 373.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.3117, allocations: 21.7 kB / 373.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3119, allocations: 314.8 kB / 373.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3121, allocations: 19.98 kB / 373.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3122, allocations: 33.77 kB / 374 MB, free: 5.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.3125, allocations: 62.05 kB / 374 MB, free: 5.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3125, allocations: 0 / 374 MB, free: 5.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003869/0.3129, allocations: 81.61 kB / 374.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3129, allocations: 4 kB / 374.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.313, allocations: 4 kB / 374.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.313, allocations: 0 / 374.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3131, allocations: 8.375 kB / 374.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.3132, allocations: 3.984 kB / 374.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.3133, allocations: 11.88 kB / 374.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3133, allocations: 4 kB / 374.2 MB, free: 5.191 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 0.0001432/0.3135, allocations: 121.7 kB / 374.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.3135, allocations: 7.906 kB / 374.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.314, allocations: 101.5 kB / 374.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3141, allocations: 4 kB / 374.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3141, allocations: 0 / 374.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3141, allocations: 0 / 374.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3144, allocations: 173.6 kB / 374.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3144, allocations: 7.984 kB / 374.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3145, allocations: 15.94 kB / 374.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.3146, allocations: 4 kB / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3146, allocations: 0 / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3146, allocations: 0 / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3146, allocations: 0 / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.315, allocations: 113.8 kB / 374.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3152, allocations: 93 kB / 374.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.3152, allocations: 4 kB / 374.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3154, allocations: 3.984 kB / 374.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.3155, allocations: 8 kB / 374.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3155, allocations: 4 kB / 374.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3157, allocations: 119.1 kB / 374.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3157, allocations: 0 / 374.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004581/0.3203, allocations: 0.9252 MB / 375.8 MB, free: 3.395 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.009979/0.3303, allocations: 1.893 MB / 377.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.3309, allocations: 51.91 kB / 377.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.3309, allocations: 4 kB / 377.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.3311, allocations: 27.92 kB / 377.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.3315, allocations: 11.98 kB / 377.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2645/0.5961, allocations: 1.766 MB / 379.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.5964, allocations: 0.6841 MB / 380.3 MB, free: 50.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.5966, allocations: 18.45 kB / 380.3 MB, free: 50.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5967, allocations: 21.19 kB / 380.3 MB, free: 50.56 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5967, allocations: 1.5 kB / 380.3 MB, free: 50.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/0.712, allocations: 30.73 MB / 411 MB, free: 31.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.78, allocations: 15.39 kB / 411.1 MB, free: 31.88 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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