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.001148/0.001148, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001108/0.001108, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8847/0.8847, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.539e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002844/0.002869, allocations: 1.33 MB / 319.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.02464, allocations: 21.08 MB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.02469, allocations: 4 kB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.02483, allocations: 15.86 kB / 340.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.03553, allocations: 5.991 MB / 346.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.03608, allocations: 370.3 kB / 347.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.0362, allocations: 79.62 kB / 347.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.03624, allocations: 4 kB / 347.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.03631, allocations: 43.89 kB / 347.3 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.03639, allocations: 39.88 kB / 347.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.03641, allocations: 4 kB / 347.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.04743, allocations: 8.377 MB / 355.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.04749, allocations: 23.91 kB / 355.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.04754, allocations: 19.98 kB / 355.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.05813, allocations: 5.469 MB / 361.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.05814, allocations: 0 / 361.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.05814, allocations: 0 / 361.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.05815, allocations: 0 / 361.3 MB, free: 11.42 MB / 330.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.002037/0.06019, allocations: 0.8525 MB / 362.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.06023, allocations: 16.92 kB / 362.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.06026, allocations: 30.75 kB / 362.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.0603, allocations: 8.891 kB / 362.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.06043, allocations: 145.6 kB / 362.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.06044, allocations: 8.125 kB / 362.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.06045, allocations: 0 / 362.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.06061, allocations: 122.8 kB / 362.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.06062, allocations: 3.938 kB / 362.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.06063, allocations: 0 / 362.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.06063, allocations: 0 / 362.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.06071, allocations: 39.91 kB / 362.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.06086, allocations: 153.7 kB / 362.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.0611, allocations: 101 kB / 362.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.06114, allocations: 29.77 kB / 362.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.06119, allocations: 15.98 kB / 362.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.06121, allocations: 30.56 kB / 362.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.06122, allocations: 0 / 362.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002256/0.06144, allocations: 109.9 kB / 362.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.06148, allocations: 81.11 kB / 363 MB, free: 9.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.06157, allocations: 137.8 kB / 363.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.06158, allocations: 25.7 kB / 363.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.06161, allocations: 88.12 kB / 363.2 MB, free: 9.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.06164, allocations: 19.84 kB / 363.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.06167, allocations: 17.72 kB / 363.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.06175, allocations: 318.8 kB / 363.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.06179, allocations: 16 kB / 363.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.06184, allocations: 29.7 kB / 363.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.06192, allocations: 65.56 kB / 363.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.06192, allocations: 0 / 363.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001155/0.06203, allocations: 85.56 kB / 363.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.06205, allocations: 4 kB / 363.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.06205, allocations: 0 / 363.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.06207, allocations: 0 / 363.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.06211, allocations: 15.98 kB / 363.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.06212, allocations: 0 / 363.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.06214, allocations: 0 / 363.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.06215, allocations: 4 kB / 363.8 MB, free: 8.629 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.06221, allocations: 121.8 kB / 363.9 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.06223, allocations: 11.94 kB / 363.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.06239, allocations: 97.95 kB / 364 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.06239, allocations: 0 / 364 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.0624, allocations: 4 kB / 364 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.0624, allocations: 0 / 364 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.557e-05/0.0625, allocations: 152.6 kB / 364.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0625, allocations: 0 / 364.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.06253, allocations: 12 kB / 364.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.06253, allocations: 4 kB / 364.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.06254, allocations: 7.938 kB / 364.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.06254, allocations: 3.938 kB / 364.2 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.06254, allocations: 0 / 364.2 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.06267, allocations: 117.8 kB / 364.3 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.06271, allocations: 11.95 kB / 364.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.06272, allocations: 3.984 kB / 364.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.06276, allocations: 4 kB / 364.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.0628, allocations: 4.359 kB / 364.4 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.06281, allocations: 12 kB / 364.4 MB, free: 7.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.06286, allocations: 107.3 kB / 364.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06286, allocations: 0 / 364.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002053/0.06491, allocations: 0.9508 MB / 365.4 MB, free: 6.938 MB / 330.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 (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.004314/0.06922, allocations: 2.022 MB / 367.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.06942, allocations: 51.91 kB / 367.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.06943, allocations: 0 / 367.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.06947, allocations: 23.92 kB / 367.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.06966, allocations: 20.33 kB / 367.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.07189, allocations: 1.79 MB / 369.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.07194, allocations: 71.34 kB / 369.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.07199, allocations: 8.359 kB / 369.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.07204, allocations: 28.47 kB / 369.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.07204, allocations: 0 / 369.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.1196, allocations: 30.26 MB / 399.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.644, allocations: 7.062 kB / 399.7 MB, free: 4.613 MB / 362.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] "Error: Could not read variable s2 in file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.1322972914204]