Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001369/0.001369, allocations: 108.5 kB / 21.18 MB, free: 0.5508 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.00158/0.00158, allocations: 204.2 kB / 24.49 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 207.6 MB / 235.3 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 55.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3168, allocations: 49.16 MB / 396.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00247/0.3193, allocations: 1.367 MB / 397.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.3499, allocations: 23.89 MB / 421.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.35, allocations: 3.938 kB / 421.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3501, allocations: 9.641 kB / 421.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02027/0.3704, allocations: 5.659 MB / 427.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3715, allocations: 371.1 kB / 427.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3717, allocations: 75.64 kB / 427.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.3718, allocations: 15.39 kB / 427.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.3718, allocations: 31.66 kB / 427.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3719, allocations: 42.38 kB / 427.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.372, allocations: 2.812 kB / 427.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.3907, allocations: 8.902 MB / 436.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.3908, allocations: 15.92 kB / 436.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.3909, allocations: 35.78 kB / 436.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.4032, allocations: 4.346 MB / 441.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4032, allocations: 0 / 441.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4032, allocations: 0 / 441.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.4032, allocations: 11.94 kB / 441.1 MB, free: 6.477 MB / 350.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.002546/0.4057, allocations: 0.8603 MB / 442 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4058, allocations: 11.98 kB / 442 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.4058, allocations: 38.69 kB / 442 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.4059, allocations: 4.891 kB / 442 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.4061, allocations: 149.8 kB / 442.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4061, allocations: 0 / 442.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4061, allocations: 0 / 442.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4063, allocations: 75.39 kB / 442.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4063, allocations: 3.938 kB / 442.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4063, allocations: 0 / 442.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4063, allocations: 4 kB / 442.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4064, allocations: 27.97 kB / 442.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.4067, allocations: 161.6 kB / 442.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.407, allocations: 97.11 kB / 442.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.4071, allocations: 29.77 kB / 442.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.4072, allocations: 11.98 kB / 442.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4072, allocations: 38.56 kB / 442.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4072, allocations: 4 kB / 442.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003356/0.4075, allocations: 101.5 kB / 442.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.4076, allocations: 77.11 kB / 442.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.4077, allocations: 137.8 kB / 442.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4077, allocations: 25.7 kB / 442.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.4078, allocations: 92.08 kB / 443 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.4078, allocations: 23.78 kB / 443.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.4079, allocations: 25.72 kB / 443.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.408, allocations: 314.8 kB / 443.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.4081, allocations: 19.98 kB / 443.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.4082, allocations: 33.7 kB / 443.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.4083, allocations: 46.06 kB / 443.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4083, allocations: 0 / 443.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000195/0.4085, allocations: 93.55 kB / 443.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4085, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4085, allocations: 0 / 443.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4085, allocations: 4 kB / 443.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.4086, allocations: 11.98 kB / 443.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4086, allocations: 0 / 443.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.4087, allocations: 4 kB / 443.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4087, allocations: 3.938 kB / 443.6 MB, free: 3.738 MB / 350.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.948e-05/0.4088, allocations: 125.7 kB / 443.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4088, allocations: 4 kB / 443.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4091, allocations: 101.7 kB / 443.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4091, allocations: 0 / 443.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4091, allocations: 8 kB / 443.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4091, allocations: 0 / 443.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.4093, allocations: 160.6 kB / 444 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4093, allocations: 0 / 444 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.4093, allocations: 8 kB / 444 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4093, allocations: 0 / 444 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.4093, allocations: 8 kB / 444 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4093, allocations: 0 / 444 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4093, allocations: 0 / 444 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.4096, allocations: 121.8 kB / 444.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.4096, allocations: 4 kB / 444.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.4096, allocations: 7.984 kB / 444.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.4097, allocations: 8 kB / 444.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.4097, allocations: 8.359 kB / 444.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.4097, allocations: 4 kB / 444.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.4098, allocations: 115.1 kB / 444.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4098, allocations: 0 / 444.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002679/0.4125, allocations: 0.9353 MB / 445.2 MB, free: 2.051 MB / 350.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.005095/0.4176, allocations: 1.908 MB / 447.1 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4179, allocations: 39.97 kB / 447.2 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4179, allocations: 4 kB / 447.2 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.418, allocations: 31.92 kB / 447.2 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4182, allocations: 19.89 kB / 447.2 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.4214, allocations: 1.777 MB / 449 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4218, allocations: 0.6883 MB / 449.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.4219, allocations: 11.97 kB / 449.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.4219, allocations: 23.44 kB / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4219, allocations: 0 / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/0.4994, allocations: 30.83 MB / 480.5 MB, free: 14.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.74, allocations: 7.797 kB / 480.6 MB, free: 14.45 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.95078504399862]