Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002508/0.1054, allocations: 1.376 MB / 419.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03091/0.1363, allocations: 23.63 MB / 442.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.1363, allocations: 0 / 442.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1365, allocations: 7.922 kB / 442.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1947/0.3311, allocations: 5.98 MB / 448.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.3318, allocations: 348.3 kB / 449.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.332, allocations: 81.36 kB / 449.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.332, allocations: 6.281 kB / 449.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.3321, allocations: 35.06 kB / 449.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.3322, allocations: 39.17 kB / 449.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3322, allocations: 2 kB / 449.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/0.3474, allocations: 8.977 MB / 458.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.3474, allocations: 18.61 kB / 458.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.3475, allocations: 28.56 kB / 458.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.3599, allocations: 4.369 MB / 462.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3599, allocations: 1.562 kB / 462.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3599, allocations: 0 / 462.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.36, allocations: 5.609 kB / 462.7 MB, free: 8.195 MB / 366.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.003829/0.3638, allocations: 0.9379 MB / 463.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3638, allocations: 12.8 kB / 463.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.3639, allocations: 37.16 kB / 463.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.3639, allocations: 7.781 kB / 463.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.364, allocations: 194.1 kB / 463.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3641, allocations: 8.281 kB / 463.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3641, allocations: 3.125 kB / 463.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3642, allocations: 71.53 kB / 463.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3642, allocations: 4.406 kB / 463.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3643, allocations: 0 / 463.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3643, allocations: 1.719 kB / 463.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3644, allocations: 34.22 kB / 464 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3645, allocations: 189.6 kB / 464.1 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3648, allocations: 100.6 kB / 464.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.3649, allocations: 30.23 kB / 464.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.3649, allocations: 12.31 kB / 464.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3649, allocations: 38.41 kB / 464.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.3649, allocations: 0.9375 kB / 464.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002824/0.3652, allocations: 102.3 kB / 464.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3652, allocations: 80.48 kB / 464.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.3653, allocations: 136.7 kB / 464.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.3653, allocations: 34.48 kB / 464.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.3654, allocations: 88.11 kB / 464.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3654, allocations: 17.86 kB / 464.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.3654, allocations: 18.97 kB / 464.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.3655, allocations: 320.2 kB / 465.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.3655, allocations: 14.69 kB / 465.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.3656, allocations: 34.64 kB / 465.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3657, allocations: 64.08 kB / 465.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3657, allocations: 1.156 kB / 465.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000154/0.3658, allocations: 79.5 kB / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3658, allocations: 5.406 kB / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3658, allocations: 0 / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3659, allocations: 1.5 kB / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.3659, allocations: 14.11 kB / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3659, allocations: 2.125 kB / 465.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.366, allocations: 6.125 kB / 465.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.366, allocations: 4.297 kB / 465.3 MB, free: 6.164 MB / 366.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 5.345e-05/0.366, allocations: 118.9 kB / 465.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.366, allocations: 10.67 kB / 465.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3663, allocations: 102.2 kB / 465.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3663, allocations: 1.562 kB / 465.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3663, allocations: 1.469 kB / 465.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3663, allocations: 4 kB / 465.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.3664, allocations: 179.4 kB / 465.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3664, allocations: 2.078 kB / 465.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.3664, allocations: 13.28 kB / 465.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3664, allocations: 1.188 kB / 465.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.3664, allocations: 3.781 kB / 465.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3664, allocations: 1.812 kB / 465.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3664, allocations: 1.812 kB / 465.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3666, allocations: 120 kB / 465.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3666, allocations: 86.84 kB / 466 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3666, allocations: 1.156 kB / 466 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.3667, allocations: 3.625 kB / 466 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3668, allocations: 10.67 kB / 466 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3668, allocations: 3.5 kB / 466 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.3668, allocations: 106.3 kB / 466.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 466.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003002/0.3698, allocations: 0.9538 MB / 467 MB, free: 5.418 MB / 366.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.004378/0.3742, allocations: 1.891 MB / 468.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3744, allocations: 50.88 kB / 469 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3744, allocations: 3.656 kB / 469 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.3745, allocations: 27.08 kB / 469 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.3747, allocations: 17.91 kB / 469 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3768, allocations: 1.792 MB / 470.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3769, allocations: 0.6834 MB / 471.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.3769, allocations: 19.34 kB / 471.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.377, allocations: 18.91 kB / 471.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.377, allocations: 0 / 471.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/0.44, allocations: 29.3 MB / 0.4891 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.32, allocations: 22 kB / 0.4891 GB, free: 11.62 MB / 398.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.74439501296729]