Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001267/0.001267, allocations: 123.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.001424/0.001424, allocations: 200.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.489/1.489, allocations: 230.6 MB / 254.1 MB, free: 15.06 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_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 53.34 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002544/0.1118, allocations: 1.362 MB / 427.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.209/0.3208, allocations: 12.15 MB / 439.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3209, allocations: 0 / 439.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.3209, allocations: 1.5 kB / 439.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.3243, allocations: 1.047 MB / 440.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.3262, allocations: 0.6298 MB / 441.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3263, allocations: 67.41 kB / 441.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.3263, allocations: 6.703 kB / 441.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.3264, allocations: 29.66 kB / 441.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.3265, allocations: 33.03 kB / 441.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3265, allocations: 3.094 kB / 441.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.33, allocations: 1.628 MB / 443.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.33, allocations: 12.2 kB / 443.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3301, allocations: 28.05 kB / 443.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.3326, allocations: 1.079 MB / 444.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3326, allocations: 0 / 444.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3326, allocations: 0.5312 kB / 444.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3326, allocations: 0 / 444.4 MB, free: 2.551 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.0008597/0.3334, allocations: 0.5576 MB / 444.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3335, allocations: 9.281 kB / 445 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3335, allocations: 33.28 kB / 445 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3337, allocations: 12.98 kB / 445 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3338, allocations: 172.7 kB / 445.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3338, allocations: 3.391 kB / 445.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3338, allocations: 1.719 kB / 445.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.334, allocations: 79.44 kB / 445.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.334, allocations: 0 / 445.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.334, allocations: 5.156 kB / 445.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.334, allocations: 1.719 kB / 445.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3341, allocations: 21.67 kB / 445.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.3343, allocations: 176.9 kB / 445.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3345, allocations: 82.38 kB / 445.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.3346, allocations: 20.03 kB / 445.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/0.341, allocations: 3.307 MB / 448.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3411, allocations: 37.7 kB / 448.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.3411, allocations: 0 / 448.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003333/0.3414, allocations: 79.91 kB / 449 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.3414, allocations: 82.84 kB / 449.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3416, allocations: 119.6 kB / 449.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3416, allocations: 25.7 kB / 449.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3416, allocations: 86.91 kB / 449.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3417, allocations: 19.88 kB / 449.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3417, allocations: 19.48 kB / 449.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3418, allocations: 318.8 kB / 449.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.3419, allocations: 9.125 kB / 449.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.342, allocations: 29.3 kB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3421, allocations: 39.44 kB / 449.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3421, allocations: 0 / 449.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001818/0.3423, allocations: 75.22 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3423, allocations: 5.625 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3423, allocations: 0 / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3423, allocations: 1.594 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.3424, allocations: 19.14 kB / 449.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3424, allocations: 1.594 kB / 449.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.3424, allocations: 2.906 kB / 449.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3425, allocations: 2.984 kB / 449.8 MB, free: 14.11 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 9.29e-05/0.3426, allocations: 116.1 kB / 449.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3426, allocations: 11.86 kB / 449.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.3429, allocations: 102.7 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3429, allocations: 2.25 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.3429, allocations: 0.8906 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3429, allocations: 1.281 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.343, allocations: 167.2 kB / 450.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.343, allocations: 4.594 kB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.3431, allocations: 16.47 kB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3431, allocations: 1.906 kB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3431, allocations: 9.062 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3431, allocations: 1.75 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3431, allocations: 0.875 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3433, allocations: 103.5 kB / 450.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.3434, allocations: 88.61 kB / 450.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3434, allocations: 5.719 kB / 450.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3435, allocations: 8.281 kB / 450.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3435, allocations: 8.969 kB / 450.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3435, allocations: 3 kB / 450.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.3436, allocations: 96.81 kB / 450.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3436, allocations: 0 / 450.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001119/0.3447, allocations: 326.2 kB / 450.9 MB, free: 13.35 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.001843/0.3466, allocations: 1.129 MB / 452 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3468, allocations: 35.31 kB / 452 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3468, allocations: 1.156 kB / 452 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.528e-05/0.3468, allocations: 18.89 kB / 452.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.347, allocations: 11.11 kB / 452.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.349, allocations: 1.471 MB / 453.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3493, allocations: 0.6825 MB / 454.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3495, allocations: 46.44 kB / 454.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3495, allocations: 32.03 kB / 454.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3495, allocations: 0 / 454.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.3874, allocations: 10.54 MB / 464.8 MB, free: 6.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.78, allocations: 9.031 kB / 464.8 MB, free: 6.117 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T_res.csv. Warning: Get data of variable s2 from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.929724667003029]