Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 124.4 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_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_1_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.001492/0.001492, allocations: 47.92 kB / 373 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 53.33 MB / 426.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002567/0.1115, allocations: 1.393 MB / 427.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2381/0.3496, allocations: 23.69 MB / 451.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.3497, allocations: 0 / 451.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3499, allocations: 12.42 kB / 451.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02066/0.3705, allocations: 6.017 MB / 457.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.3715, allocations: 350.4 kB / 457.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3716, allocations: 76.53 kB / 457.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.3716, allocations: 1.469 kB / 457.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.3717, allocations: 32.45 kB / 457.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.3718, allocations: 42.22 kB / 457.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3718, allocations: 7.438 kB / 457.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.3921, allocations: 9.001 MB / 466.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.3922, allocations: 16.22 kB / 466.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.3922, allocations: 30.58 kB / 467 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.4056, allocations: 4.393 MB / 471.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4056, allocations: 4 kB / 471.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4056, allocations: 0 / 471.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4057, allocations: 1.719 kB / 471.4 MB, free: 2.352 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.003496/0.4092, allocations: 0.9418 MB / 472.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4092, allocations: 7.781 kB / 472.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.4093, allocations: 37.58 kB / 472.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.4093, allocations: 7.453 kB / 472.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.4095, allocations: 207.7 kB / 472.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4096, allocations: 0 / 472.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.4096, allocations: 6.438 kB / 472.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4098, allocations: 77.03 kB / 472.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4098, allocations: 0 / 472.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4098, allocations: 0 / 472.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4098, allocations: 3.125 kB / 472.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4099, allocations: 38.78 kB / 472.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.4102, allocations: 189.8 kB / 472.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4105, allocations: 93.86 kB / 472.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.4106, allocations: 28.98 kB / 473 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.4106, allocations: 12.55 kB / 473 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4107, allocations: 39.91 kB / 473 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4107, allocations: 5.281 kB / 473 MB, free: 0.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003503/0.411, allocations: 105.2 kB / 473.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.4111, allocations: 78.17 kB / 473.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4112, allocations: 135 kB / 473.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4113, allocations: 29.7 kB / 473.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.4113, allocations: 81.42 kB / 473.5 MB, free: 500 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.4113, allocations: 27.7 kB / 473.5 MB, free: 476 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.4114, allocations: 22.02 kB / 473.5 MB, free: 452 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4115, allocations: 316.9 kB / 473.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.4116, allocations: 19.48 kB / 473.8 MB, free: 120 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.4117, allocations: 35.17 kB / 473.9 MB, free: 92 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4118, allocations: 49.78 kB / 473.9 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4118, allocations: 4 kB / 473.9 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.412, allocations: 80.27 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.412, allocations: 5.344 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.412, allocations: 1.688 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.412, allocations: 0 / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.4121, allocations: 9.5 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4121, allocations: 5.734 kB / 474 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.4122, allocations: 7.281 kB / 474 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4122, allocations: 3.531 kB / 474 MB, free: 16 MB / 382.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 9.91e-05/0.4123, allocations: 119.3 kB / 474.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.4123, allocations: 7.828 kB / 474.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.4126, allocations: 99.66 kB / 474.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4126, allocations: 1.469 kB / 474.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4126, allocations: 1.406 kB / 474.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4126, allocations: 0 / 474.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.4127, allocations: 185 kB / 474.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4127, allocations: 5.828 kB / 474.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.4128, allocations: 17.94 kB / 474.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4128, allocations: 0 / 474.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4128, allocations: 1.781 kB / 474.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4128, allocations: 0 / 474.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4128, allocations: 2.406 kB / 474.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.413, allocations: 112.8 kB / 474.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.4131, allocations: 91.02 kB / 474.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4131, allocations: 5.531 kB / 474.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.4132, allocations: 6.766 kB / 474.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4133, allocations: 8.906 kB / 474.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.4133, allocations: 2.688 kB / 474.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.4134, allocations: 120.3 kB / 474.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4134, allocations: 0 / 474.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004399/0.4178, allocations: 0.9554 MB / 475.8 MB, free: 15.05 MB / 382.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.006642/0.4244, allocations: 1.886 MB / 477.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.4247, allocations: 47.91 kB / 477.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4247, allocations: 0 / 477.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.4247, allocations: 35.86 kB / 477.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.425, allocations: 16.25 kB / 477.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.4286, allocations: 1.803 MB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.429, allocations: 0.6807 MB / 480.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.429, allocations: 11.98 kB / 480.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.4291, allocations: 27.42 kB / 480.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4291, allocations: 0 / 480.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07193/0.501, allocations: 29.44 MB / 0.4978 GB, free: 13.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.64, allocations: 7.562 kB / 0.4978 GB, free: 13.23 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.918239186998107]