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.00124/0.00124, allocations: 114 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.001203/0.001203, 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.349/1.349, 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.001645/0.001645, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08709, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002379/0.08951, allocations: 1.353 MB / 376 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1717/0.2612, allocations: 12.09 MB / 388.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2613, allocations: 3.938 kB / 388.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.2614, allocations: 7.125 kB / 388.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.2649, allocations: 1.044 MB / 389.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.2669, allocations: 0.627 MB / 389.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2671, allocations: 60.48 kB / 389.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2671, allocations: 12.41 kB / 389.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/0.2672, allocations: 29.83 kB / 389.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.2673, allocations: 39.44 kB / 389.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2673, allocations: 3.219 kB / 389.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.2713, allocations: 1.608 MB / 391.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.2713, allocations: 12.88 kB / 391.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.2714, allocations: 28.91 kB / 391.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.2744, allocations: 1.074 MB / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2744, allocations: 1.031 kB / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2744, allocations: 0 / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.2744, allocations: 0 / 392.6 MB, free: 4.23 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.000973/0.2754, allocations: 0.5474 MB / 393.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2755, allocations: 8.969 kB / 393.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.2755, allocations: 37.08 kB / 393.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2756, allocations: 12.86 kB / 393.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2758, allocations: 182.6 kB / 393.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2758, allocations: 1.594 kB / 393.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2758, allocations: 6.812 kB / 393.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.276, allocations: 67.64 kB / 393.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.276, allocations: 1.094 kB / 393.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.276, allocations: 0 / 393.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.276, allocations: 5.125 kB / 393.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2762, allocations: 22.17 kB / 393.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.2763, allocations: 177.1 kB / 393.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.2766, allocations: 83.45 kB / 393.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.2767, allocations: 29.23 kB / 393.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005897/0.2826, allocations: 3.283 MB / 397.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2826, allocations: 40.38 kB / 397.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.2826, allocations: 5.406 kB / 397.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000331/0.283, allocations: 82 kB / 397.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.283, allocations: 84.12 kB / 397.3 MB, free: 488 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.2831, allocations: 115.8 kB / 397.4 MB, free: 380 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2831, allocations: 25.7 kB / 397.4 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.2832, allocations: 91.28 kB / 397.5 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2832, allocations: 19.98 kB / 397.5 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.2832, allocations: 19.58 kB / 397.6 MB, free: 220 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2833, allocations: 315.8 kB / 397.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.2834, allocations: 16.61 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.2835, allocations: 21.06 kB / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.2836, allocations: 45.48 kB / 397.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2836, allocations: 1.406 kB / 397.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001759/0.2838, allocations: 77.34 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2838, allocations: 6 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2838, allocations: 1.438 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2838, allocations: 0 / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.2839, allocations: 11.42 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2839, allocations: 1.781 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.284, allocations: 6.109 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.284, allocations: 6.344 kB / 398.1 MB, free: 15.79 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.0001091/0.2841, allocations: 117.8 kB / 398.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2842, allocations: 11.59 kB / 398.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.2845, allocations: 108.5 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2845, allocations: 5.344 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2845, allocations: 0 / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2845, allocations: 2.172 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2847, allocations: 163.3 kB / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2847, allocations: 0 / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.2847, allocations: 18.73 kB / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2847, allocations: 2.188 kB / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2848, allocations: 5.438 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2848, allocations: 2.203 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2848, allocations: 0 / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.285, allocations: 99.34 kB / 398.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.285, allocations: 96.09 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2851, allocations: 1.094 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2851, allocations: 3.453 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.2852, allocations: 6.734 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2852, allocations: 8.266 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.2853, allocations: 94.98 kB / 398.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2853, allocations: 3.938 kB / 398.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001142/0.2865, allocations: 326.5 kB / 399.1 MB, free: 15.03 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.001809/0.2883, allocations: 1.123 MB / 400.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.2885, allocations: 36.58 kB / 400.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2885, allocations: 0 / 400.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.2886, allocations: 25.19 kB / 400.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.2888, allocations: 10.58 kB / 400.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.2907, allocations: 1.462 MB / 401.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.291, allocations: 0.6828 MB / 402.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.2911, allocations: 51.66 kB / 402.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2912, allocations: 23.02 kB / 402.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2912, allocations: 4 kB / 402.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.3309, allocations: 10.53 MB / 413.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.612, allocations: 9.531 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