Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",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.001446/0.001446, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001612/0.001613, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.355/1.355, 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.00137/0.00137, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.0904, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002585/0.09303, allocations: 1.341 MB / 376 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1885/0.2816, allocations: 12.1 MB / 388.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.2817, allocations: 0 / 388.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.2818, allocations: 5.531 kB / 388.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.2849, allocations: 1.045 MB / 389.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2865, allocations: 0.629 MB / 389.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2866, allocations: 65.3 kB / 389.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.2867, allocations: 10.02 kB / 389.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.2867, allocations: 30.06 kB / 389.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.2868, allocations: 31.91 kB / 389.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2868, allocations: 2.969 kB / 389.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.2898, allocations: 1.615 MB / 391.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2898, allocations: 12.45 kB / 391.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.2898, allocations: 24.78 kB / 391.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.2916, allocations: 1.07 MB / 392.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2916, allocations: 0 / 392.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2916, allocations: 0 / 392.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2916, allocations: 0 / 392.6 MB, free: 4.223 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.0006169/0.2922, allocations: 0.5494 MB / 393.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2923, allocations: 12.84 kB / 393.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.2923, allocations: 32.59 kB / 393.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2924, allocations: 17.81 kB / 393.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2925, allocations: 183.1 kB / 393.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2926, allocations: 5.438 kB / 393.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2926, allocations: 2 kB / 393.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2927, allocations: 68.25 kB / 393.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2928, allocations: 0 / 393.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2928, allocations: 1.125 kB / 393.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2928, allocations: 4 kB / 393.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2929, allocations: 29.42 kB / 393.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.293, allocations: 176.8 kB / 393.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.2933, allocations: 83.94 kB / 393.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.2934, allocations: 24.14 kB / 393.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005793/0.2992, allocations: 3.288 MB / 397.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.2992, allocations: 40.23 kB / 397.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.2992, allocations: 0 / 397.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003212/0.2996, allocations: 87.56 kB / 397.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.2996, allocations: 78.91 kB / 397.3 MB, free: 476 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.2997, allocations: 111.4 kB / 397.4 MB, free: 372 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2997, allocations: 34.92 kB / 397.4 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.2997, allocations: 82.89 kB / 397.5 MB, free: 248 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2998, allocations: 18.86 kB / 397.5 MB, free: 232 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2998, allocations: 20.77 kB / 397.6 MB, free: 212 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.2999, allocations: 318 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.2999, allocations: 12.2 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.3, allocations: 23.39 kB / 397.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3001, allocations: 45.88 kB / 397.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3001, allocations: 0 / 397.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001738/0.3003, allocations: 77.81 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3003, allocations: 5.969 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3004, allocations: 0.7031 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3004, allocations: 1.156 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.3004, allocations: 15.89 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3005, allocations: 2.078 kB / 398 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3005, allocations: 5.953 kB / 398.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3005, allocations: 3.453 kB / 398.1 MB, free: 15.78 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.601e-05/0.3006, allocations: 116.9 kB / 398.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3006, allocations: 11.48 kB / 398.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.3009, allocations: 109.4 kB / 398.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3009, allocations: 3.406 kB / 398.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3009, allocations: 2.062 kB / 398.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3009, allocations: 0 / 398.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3011, allocations: 167.2 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3011, allocations: 0.7031 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.3012, allocations: 15.91 kB / 398.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3012, allocations: 1.531 kB / 398.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3012, allocations: 5.969 kB / 398.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3012, allocations: 0 / 398.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3012, allocations: 1.156 kB / 398.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.3014, allocations: 103 kB / 398.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.3015, allocations: 100.6 kB / 398.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3015, allocations: 1.062 kB / 398.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3016, allocations: 4.344 kB / 398.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3016, allocations: 10.33 kB / 398.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3016, allocations: 7.297 kB / 398.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.917e-05/0.3017, allocations: 92 kB / 398.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 1.344 kB / 398.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009588/0.3027, allocations: 325.9 kB / 399.1 MB, free: 15.02 MB / 334.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.001513/0.3042, allocations: 1.125 MB / 400.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3044, allocations: 32.92 kB / 400.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3044, allocations: 0 / 400.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.3045, allocations: 25.31 kB / 400.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.3047, allocations: 17.91 kB / 400.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3063, allocations: 1.447 MB / 401.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3066, allocations: 0.6841 MB / 402.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3067, allocations: 50.88 kB / 402.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.3068, allocations: 27.3 kB / 402.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3068, allocations: 0 / 402.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3396, allocations: 10.53 MB / 413.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.171, allocations: 11.75 kB / 413.1 MB, free: 7.277 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches