Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 174.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007193/0.0007193, allocations: 92.84 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002923, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 47.58 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001003/0.1792, allocations: 1.057 MB / 376.2 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008346/0.1876, allocations: 11.13 MB / 387.4 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.1877, allocations: 1 kB / 387.4 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1877, allocations: 0 / 387.4 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.1898, allocations: 0.8093 MB / 388.2 MB, free: 35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1911, allocations: 0.5099 MB / 388.7 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.1911, allocations: 51.62 kB / 388.7 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.1912, allocations: 2.062 kB / 388.8 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.1912, allocations: 24.7 kB / 388.8 MB, free: 34.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.1913, allocations: 40.42 kB / 388.8 MB, free: 34.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1913, allocations: 2.25 kB / 388.8 MB, free: 34.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.1938, allocations: 1.508 MB / 390.3 MB, free: 33.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1938, allocations: 3.984 kB / 390.3 MB, free: 33.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1938, allocations: 53.56 kB / 390.4 MB, free: 33.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.1947, allocations: 0.7263 MB / 391.1 MB, free: 32.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1947, allocations: 4 kB / 391.1 MB, free: 32.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1947, allocations: 0 / 391.1 MB, free: 32.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1948, allocations: 0 / 391.1 MB, free: 32.72 MB / 298.7 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.0004673/0.1952, allocations: 0.5302 MB / 391.6 MB, free: 32.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1953, allocations: 8.031 kB / 391.6 MB, free: 32.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.1953, allocations: 42.73 kB / 391.7 MB, free: 32.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.1954, allocations: 8.844 kB / 391.7 MB, free: 32.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.1955, allocations: 180.3 kB / 391.9 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1955, allocations: 384 / 391.9 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1955, allocations: 4.359 kB / 391.9 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1957, allocations: 79.27 kB / 392 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1957, allocations: 0 / 392 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1957, allocations: 0 / 392 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1957, allocations: 0 / 392 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.1958, allocations: 27.97 kB / 392 MB, free: 31.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.1959, allocations: 170.6 kB / 392.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1961, allocations: 77.12 kB / 392.2 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1962, allocations: 25.78 kB / 392.3 MB, free: 31.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004941/0.2012, allocations: 3.305 MB / 395.6 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2012, allocations: 38.5 kB / 395.6 MB, free: 27.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.2012, allocations: 3.938 kB / 395.6 MB, free: 27.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000235/0.2014, allocations: 73.67 kB / 395.7 MB, free: 27.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.2015, allocations: 85.05 kB / 395.8 MB, free: 27.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.2015, allocations: 121.8 kB / 395.9 MB, free: 27.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.2015, allocations: 25.7 kB / 395.9 MB, free: 27.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.2016, allocations: 84.14 kB / 396 MB, free: 27.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2016, allocations: 27.64 kB / 396 MB, free: 27.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2016, allocations: 0 / 396 MB, free: 27.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.2017, allocations: 318.8 kB / 396.3 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.2017, allocations: 8 kB / 396.3 MB, free: 26.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.2018, allocations: 25.7 kB / 396.4 MB, free: 26.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.2019, allocations: 41.7 kB / 396.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2019, allocations: 0 / 396.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001392/0.202, allocations: 73.83 kB / 396.5 MB, free: 26.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.202, allocations: 8 kB / 396.5 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.202, allocations: 96 / 396.5 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2021, allocations: 3.984 kB / 396.5 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.2021, allocations: 11.98 kB / 396.5 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2021, allocations: 4.125 kB / 396.5 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.2022, allocations: 11.94 kB / 396.5 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2022, allocations: 8 kB / 396.5 MB, free: 26.61 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.2022, allocations: 106.5 kB / 396.6 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.2023, allocations: 7.938 kB / 396.6 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.2025, allocations: 97.47 kB / 396.7 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2025, allocations: 8 kB / 396.7 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2025, allocations: 3.938 kB / 396.7 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2025, allocations: 0 / 396.7 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.218e-05/0.2026, allocations: 173.5 kB / 396.9 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2026, allocations: 7.938 kB / 396.9 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.2026, allocations: 15.92 kB / 396.9 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2026, allocations: 0 / 396.9 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2027, allocations: 0 / 396.9 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2027, allocations: 4 kB / 396.9 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2027, allocations: 0 / 396.9 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2028, allocations: 97.97 kB / 397 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.2028, allocations: 96.94 kB / 397.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2029, allocations: 7.984 kB / 397.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.2029, allocations: 0 / 397.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.203, allocations: 7.984 kB / 397.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.203, allocations: 4 kB / 397.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.203, allocations: 99.27 kB / 397.2 MB, free: 25.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.203, allocations: 7.875 kB / 397.2 MB, free: 25.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.2036, allocations: 319.6 kB / 397.6 MB, free: 25.47 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.2046, allocations: 1.102 MB / 398.7 MB, free: 24.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.2047, allocations: 39.91 kB / 398.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2048, allocations: 0 / 398.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.2048, allocations: 16 kB / 398.7 MB, free: 24.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.205, allocations: 19.92 kB / 398.7 MB, free: 24.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.2058, allocations: 0.6712 MB / 399.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.2059, allocations: 0.6911 MB / 400.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.206, allocations: 23.42 kB / 400.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.206, allocations: 0 / 400.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/2.954, allocations: 6.078 MB / 406.2 MB, free: 16.71 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches