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.001349/0.001349, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001617/0.001617, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.423/1.423, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001966/0.001966, allocations: 51.86 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2594, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00256/0.2619, allocations: 1.341 MB / 397.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.2913, allocations: 21.24 MB / 418.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.2913, allocations: 1.188 kB / 418.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2915, allocations: 15.86 kB / 418.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01916/0.3107, allocations: 5.614 MB / 424.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3117, allocations: 367.1 kB / 424.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3119, allocations: 76.2 kB / 425 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.3119, allocations: 10.39 kB / 425 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.312, allocations: 28.55 kB / 425 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3121, allocations: 38.02 kB / 425.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3122, allocations: 3.875 kB / 425.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/0.3305, allocations: 8.25 MB / 433.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.3306, allocations: 15.92 kB / 433.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.3306, allocations: 23.92 kB / 433.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3419, allocations: 4.295 MB / 437.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3419, allocations: 0 / 437.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3419, allocations: 0 / 437.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3419, allocations: 0 / 437.6 MB, free: 9.758 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.002224/0.3441, allocations: 0.8525 MB / 438.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3441, allocations: 11.98 kB / 438.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.3442, allocations: 34.73 kB / 438.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3442, allocations: 8.891 kB / 438.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3444, allocations: 149.8 kB / 438.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3444, allocations: 4 kB / 438.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3444, allocations: 4 kB / 438.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3447, allocations: 126.8 kB / 438.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3447, allocations: 0 / 438.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3447, allocations: 0 / 438.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3447, allocations: 4 kB / 438.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3448, allocations: 31.92 kB / 438.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.345, allocations: 157.6 kB / 439 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3453, allocations: 97.11 kB / 439.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.3454, allocations: 29.78 kB / 439.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.3455, allocations: 15.98 kB / 439.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3455, allocations: 30.56 kB / 439.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3455, allocations: 0 / 439.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003321/0.3458, allocations: 105.9 kB / 439.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3459, allocations: 81.11 kB / 439.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.346, allocations: 141.8 kB / 439.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.346, allocations: 25.7 kB / 439.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3461, allocations: 88.12 kB / 439.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3461, allocations: 19.8 kB / 439.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.3462, allocations: 21.72 kB / 439.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3463, allocations: 326.8 kB / 440 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.3464, allocations: 15.98 kB / 440 MB, free: 7.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.3464, allocations: 33.64 kB / 440 MB, free: 7.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3466, allocations: 53.69 kB / 440.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3466, allocations: 0 / 440.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001931/0.3468, allocations: 81.56 kB / 440.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3468, allocations: 7.984 kB / 440.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3468, allocations: 4 kB / 440.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3468, allocations: 4 kB / 440.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.3469, allocations: 8 kB / 440.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3469, allocations: 3.984 kB / 440.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.3469, allocations: 8 kB / 440.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3469, allocations: 0 / 440.2 MB, free: 6.957 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.631e-05/0.347, allocations: 117.8 kB / 440.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.347, allocations: 7.953 kB / 440.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.3473, allocations: 93.59 kB / 440.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3473, allocations: 8 kB / 440.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3473, allocations: 0 / 440.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3473, allocations: 3.984 kB / 440.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3474, allocations: 148.6 kB / 440.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3474, allocations: 0 / 440.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3475, allocations: 12.06 kB / 440.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3475, allocations: 8 kB / 440.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3475, allocations: 3.984 kB / 440.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3475, allocations: 0 / 440.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3475, allocations: 0 / 440.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3477, allocations: 121.9 kB / 440.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.3478, allocations: 7.984 kB / 440.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3478, allocations: 7.938 kB / 440.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.3479, allocations: 4 kB / 440.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3479, allocations: 12.48 kB / 440.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3479, allocations: 0 / 440.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.348, allocations: 119.1 kB / 440.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 4 kB / 440.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002426/0.3504, allocations: 0.9314 MB / 441.8 MB, free: 5.277 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.005241/0.3557, allocations: 1.907 MB / 443.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3559, allocations: 47.91 kB / 443.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3559, allocations: 0 / 443.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.356, allocations: 27.92 kB / 443.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.3563, allocations: 19.98 kB / 443.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.3597, allocations: 1.789 MB / 445.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.3598, allocations: 79.19 kB / 445.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.3598, allocations: 16.34 kB / 445.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.3599, allocations: 19.44 kB / 445.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3599, allocations: 0 / 445.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07092/0.4308, allocations: 31.37 MB / 477.1 MB, free: 1.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.9, allocations: 8 kB / 477.1 MB, free: 1.727 MB / 382.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: 18.10418081888929]