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.001465/0.001465, allocations: 114.4 kB / 17.74 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.001658/0.001658, allocations: 183.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.294/1.294, 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.00119/0.00119, allocations: 47.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08683, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002336/0.0892, allocations: 1.349 MB / 376 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2641, allocations: 12.1 MB / 388.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.2643, allocations: 7.875 kB / 388.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.2643, allocations: 1.875 kB / 388.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.2685, allocations: 1.048 MB / 389.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.2709, allocations: 0.6252 MB / 389.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2711, allocations: 65.28 kB / 389.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.2711, allocations: 7.516 kB / 389.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.2712, allocations: 33.62 kB / 389.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2713, allocations: 29.11 kB / 389.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2713, allocations: 6.172 kB / 389.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.2753, allocations: 1.613 MB / 391.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2753, allocations: 12.17 kB / 391.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.2754, allocations: 29.33 kB / 391.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.2778, allocations: 1.068 MB / 392.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2779, allocations: 1.125 kB / 392.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2779, allocations: 1.25 kB / 392.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2779, allocations: 0 / 392.6 MB, free: 4.469 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.0006418/0.2785, allocations: 0.5477 MB / 393.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2786, allocations: 9.5 kB / 393.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.2786, allocations: 37.19 kB / 393.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2787, allocations: 17.2 kB / 393.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2788, allocations: 181.8 kB / 393.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2789, allocations: 1.469 kB / 393.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2789, allocations: 1.875 kB / 393.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.279, allocations: 73.61 kB / 393.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2791, allocations: 0 / 393.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2791, allocations: 1.094 kB / 393.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2791, allocations: 0.9375 kB / 393.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.2792, allocations: 22.75 kB / 393.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.2794, allocations: 176.3 kB / 393.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.2797, allocations: 79.14 kB / 393.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.2797, allocations: 33.61 kB / 393.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005872/0.2856, allocations: 3.282 MB / 397.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2857, allocations: 49.53 kB / 397.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.2857, allocations: 0 / 397.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003335/0.286, allocations: 85.28 kB / 397.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2861, allocations: 78.98 kB / 397.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.2862, allocations: 114.3 kB / 397.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2862, allocations: 26.7 kB / 397.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.2862, allocations: 86.06 kB / 397.5 MB, free: 500 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2862, allocations: 20.78 kB / 397.5 MB, free: 484 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.2863, allocations: 20.3 kB / 397.6 MB, free: 464 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.2863, allocations: 317.4 kB / 397.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.2864, allocations: 13.86 kB / 397.9 MB, free: 136 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.2865, allocations: 25.92 kB / 397.9 MB, free: 116 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2866, allocations: 48.12 kB / 398 MB, free: 84 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2866, allocations: 2.188 kB / 398 MB, free: 84 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001543/0.2867, allocations: 69.14 kB / 398 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2868, allocations: 5.688 kB / 398 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2868, allocations: 0 / 398 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2868, allocations: 2.25 kB / 398 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.2869, allocations: 14.66 kB / 398 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2869, allocations: 1.766 kB / 398 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.2869, allocations: 2.938 kB / 398 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.287, allocations: 11.69 kB / 398.1 MB, free: 28 kB / 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 8.593e-05/0.2871, allocations: 113.4 kB / 398.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2871, allocations: 11.14 kB / 398.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.2874, allocations: 99.83 kB / 398.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2874, allocations: 9.641 kB / 398.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2874, allocations: 1.094 kB / 398.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2874, allocations: 0 / 398.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2876, allocations: 171.1 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2876, allocations: 1.844 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.2876, allocations: 19.61 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2877, allocations: 3.094 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2877, allocations: 2.266 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2877, allocations: 2.234 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2877, allocations: 0 / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2879, allocations: 103.9 kB / 398.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.2879, allocations: 91.27 kB / 398.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.288, allocations: 2 kB / 398.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.288, allocations: 10.86 kB / 398.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2881, allocations: 10.2 kB / 398.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2881, allocations: 2.469 kB / 398.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.265e-05/0.2882, allocations: 96.28 kB / 398.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2882, allocations: 0 / 398.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009675/0.2892, allocations: 330.6 kB / 399.1 MB, free: 15.26 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.001563/0.2907, allocations: 1.115 MB / 400.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.2909, allocations: 35.86 kB / 400.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.2909, allocations: 4 kB / 400.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.291, allocations: 19.92 kB / 400.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.2912, allocations: 19.45 kB / 400.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2929, allocations: 1.459 MB / 401.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2932, allocations: 0.683 MB / 402.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.2933, allocations: 47.59 kB / 402.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.2934, allocations: 24.41 kB / 402.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2934, allocations: 4 kB / 402.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.3264, allocations: 10.52 MB / 413 MB, free: 7.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.169, allocations: 8.938 kB / 413.1 MB, free: 7.484 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