Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001641/0.001641, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001987/0.001987, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.441/1.441, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.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_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",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.001697/0.001697, allocations: 56.55 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09617, allocations: 49.14 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002426/0.09859, allocations: 1.347 MB / 392.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.113, allocations: 12.15 MB / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1131, allocations: 0 / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1131, allocations: 3.984 kB / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.1165, allocations: 1.053 MB / 406 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.1183, allocations: 0.6294 MB / 406.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1184, allocations: 67.7 kB / 406.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1185, allocations: 0 / 406.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.1185, allocations: 31.92 kB / 406.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1186, allocations: 31.89 kB / 406.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1186, allocations: 4 kB / 406.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.1218, allocations: 1.631 MB / 408.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1218, allocations: 19.91 kB / 408.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.1218, allocations: 23.92 kB / 408.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.1237, allocations: 1.068 MB / 409.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1237, allocations: 0 / 409.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1237, allocations: 0 / 409.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1237, allocations: 0 / 409.5 MB, free: 6.578 MB / 334.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.0008756/0.1246, allocations: 0.5522 MB / 410 MB, free: 5.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1247, allocations: 8.031 kB / 410 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.1247, allocations: 38.73 kB / 410.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.1248, allocations: 12.89 kB / 410.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.125, allocations: 180.3 kB / 410.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.125, allocations: 384 / 410.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1251, allocations: 12.25 kB / 410.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1252, allocations: 79.27 kB / 410.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1253, allocations: 0 / 410.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1253, allocations: 4 kB / 410.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1253, allocations: 0 / 410.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1254, allocations: 19.98 kB / 410.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.1256, allocations: 178.6 kB / 410.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.1259, allocations: 77.12 kB / 410.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.126, allocations: 21.78 kB / 410.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006768/0.1328, allocations: 3.301 MB / 413.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1328, allocations: 38.56 kB / 414 MB, free: 1.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.1328, allocations: 0 / 414 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000341/0.1331, allocations: 85.55 kB / 414.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.1332, allocations: 77.11 kB / 414.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1333, allocations: 117.8 kB / 414.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1333, allocations: 29.64 kB / 414.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.1334, allocations: 84.14 kB / 414.4 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1334, allocations: 15.84 kB / 414.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1335, allocations: 25.7 kB / 414.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1336, allocations: 314.8 kB / 414.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1336, allocations: 11.98 kB / 414.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.1337, allocations: 29.7 kB / 414.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1338, allocations: 33.7 kB / 414.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1338, allocations: 0 / 414.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000175/0.134, allocations: 77.5 kB / 414.9 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.134, allocations: 4 kB / 414.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.134, allocations: 4 kB / 414.9 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.134, allocations: 3.938 kB / 414.9 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.1341, allocations: 12 kB / 414.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1341, allocations: 0 / 414.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1342, allocations: 7.984 kB / 414.9 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1342, allocations: 4 kB / 414.9 MB, free: 444 kB / 334.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.325e-05/0.1343, allocations: 113.8 kB / 415 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1343, allocations: 11.89 kB / 415 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.1346, allocations: 105.9 kB / 415.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1346, allocations: 4.094 kB / 415.1 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1346, allocations: 0 / 415.1 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1346, allocations: 3.984 kB / 415.1 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1348, allocations: 165.7 kB / 415.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1348, allocations: 7.938 kB / 415.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.1348, allocations: 11.98 kB / 415.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1348, allocations: 0 / 415.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1348, allocations: 3.938 kB / 415.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.1348, allocations: 12.25 kB / 415.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1348, allocations: 128 / 415.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1351, allocations: 101.9 kB / 415.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1351, allocations: 89.03 kB / 415.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1351, allocations: 4 kB / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.1352, allocations: 0 / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1353, allocations: 15.98 kB / 415.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1353, allocations: 4 kB / 415.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.1353, allocations: 95.25 kB / 415.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1353, allocations: 0 / 415.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008486/0.1362, allocations: 326.8 kB / 416 MB, free: 15.27 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.00162/0.1378, allocations: 1.123 MB / 417.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.138, allocations: 35.91 kB / 417.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.138, allocations: 0 / 417.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1381, allocations: 20 kB / 417.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.1383, allocations: 20.11 kB / 417.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1401, allocations: 1.457 MB / 418.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1404, allocations: 0.6883 MB / 419.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1405, allocations: 44.16 kB / 419.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.1405, allocations: 31.36 kB / 419.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1405, allocations: 0 / 419.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.1759, allocations: 10.55 MB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.482, allocations: 8 kB / 429.9 MB, free: 1.082 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.566604247011128]