Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001217/0.001217, allocations: 120.1 kB / 17.79 MB, free: 5.25 MB / 14.72 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.001226/0.001226, allocations: 194.8 kB / 20.73 MB, free: 2.312 MB / 14.72 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 1.417/1.417, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] 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_T,fileNamePrefix="Modelica_4_0_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_0_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.001521/0.001521, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002643/0.1092, allocations: 1.363 MB / 419.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.1232, allocations: 12.13 MB / 431.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.1233, allocations: 0 / 431.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.1233, allocations: 7.922 kB / 431.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.1269, allocations: 1.049 MB / 432.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1289, allocations: 0.6334 MB / 433 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1291, allocations: 63.72 kB / 433 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.1291, allocations: 3.984 kB / 433 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.1292, allocations: 27.92 kB / 433 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1293, allocations: 31.89 kB / 433.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1293, allocations: 4 kB / 433.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.1332, allocations: 1.627 MB / 434.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1333, allocations: 19.91 kB / 434.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1333, allocations: 27.92 kB / 434.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.1367, allocations: 1.076 MB / 435.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1367, allocations: 0 / 435.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1367, allocations: 0 / 435.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.1368, allocations: 0 / 435.8 MB, free: 10.46 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.001141/0.1379, allocations: 0.556 MB / 436.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1379, allocations: 8.031 kB / 436.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.138, allocations: 34.75 kB / 436.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1382, allocations: 16.92 kB / 436.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1384, allocations: 180.3 kB / 436.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1384, allocations: 4.375 kB / 436.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1384, allocations: 4.359 kB / 436.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1387, allocations: 71.27 kB / 436.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1387, allocations: 0 / 436.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1387, allocations: 4 kB / 436.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1387, allocations: 0 / 436.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1388, allocations: 15.98 kB / 436.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.139, allocations: 182.5 kB / 436.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1394, allocations: 77.22 kB / 437 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.1394, allocations: 25.77 kB / 437 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007032/0.1465, allocations: 3.294 MB / 440.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1465, allocations: 42.56 kB / 440.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.1465, allocations: 0 / 440.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003671/0.1469, allocations: 81.56 kB / 440.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1469, allocations: 81.09 kB / 440.5 MB, free: 5.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1471, allocations: 117.8 kB / 440.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1471, allocations: 25.7 kB / 440.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1471, allocations: 84.14 kB / 440.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1472, allocations: 23.78 kB / 440.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.1472, allocations: 29.7 kB / 440.8 MB, free: 4.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1474, allocations: 310.8 kB / 441.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.1474, allocations: 15.98 kB / 441.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.1475, allocations: 33.58 kB / 441.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1476, allocations: 38.06 kB / 441.2 MB, free: 4.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1476, allocations: 0 / 441.2 MB, free: 4.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001777/0.1478, allocations: 73.56 kB / 441.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1478, allocations: 11.98 kB / 441.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1478, allocations: 0 / 441.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1478, allocations: 0 / 441.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1479, allocations: 8 kB / 441.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1479, allocations: 0 / 441.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.148, allocations: 7.953 kB / 441.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.148, allocations: 3.984 kB / 441.3 MB, free: 4.312 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.463e-05/0.1481, allocations: 122.4 kB / 441.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1481, allocations: 7.938 kB / 441.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1484, allocations: 101.8 kB / 441.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1484, allocations: 4 kB / 441.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1484, allocations: 0 / 441.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1484, allocations: 4 kB / 441.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1485, allocations: 165.6 kB / 441.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.1486, allocations: 8.062 kB / 441.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.1486, allocations: 19.98 kB / 441.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1486, allocations: 0 / 441.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1486, allocations: 0 / 441.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1486, allocations: 7.938 kB / 441.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1486, allocations: 0 / 441.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1488, allocations: 102 kB / 441.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1489, allocations: 92.92 kB / 441.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1489, allocations: 4 kB / 441.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.149, allocations: 0 / 441.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1491, allocations: 11.98 kB / 441.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1491, allocations: 4 kB / 441.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1491, allocations: 91.27 kB / 442 MB, free: 3.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1491, allocations: 0 / 442 MB, free: 3.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008956/0.15, allocations: 330.8 kB / 442.3 MB, free: 3.156 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.001827/0.1519, allocations: 1.127 MB / 443.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.152, allocations: 31.92 kB / 443.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.152, allocations: 0 / 443.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.1521, allocations: 19.98 kB / 443.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1523, allocations: 15.98 kB / 443.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1543, allocations: 1.461 MB / 445 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2098/0.3641, allocations: 0.678 MB / 445.6 MB, free: 30.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3643, allocations: 47.75 kB / 445.7 MB, free: 30.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.3643, allocations: 24.05 kB / 445.7 MB, free: 30.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3643, allocations: 0 / 445.7 MB, free: 30.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.4043, allocations: 10.55 MB / 456.3 MB, free: 28.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.01, allocations: 2.312 kB / 456.3 MB, free: 28.77 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.13672388996929]