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.0008796/0.0008796, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005409/0.005409, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8362/0.8362, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.019e-05/4.154e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001409/0.001451, allocations: 1.334 MB / 299.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1273/0.1287, allocations: 10.67 MB / 310.4 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.1288, allocations: 1.156 kB / 310.4 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1288, allocations: 6.234 kB / 310.5 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1306, allocations: 1.035 MB / 311.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.1315, allocations: 0.6621 MB / 312.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.1316, allocations: 61.73 kB / 312.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1317, allocations: 3.062 kB / 312.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.1317, allocations: 40.72 kB / 312.3 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.1318, allocations: 27.91 kB / 312.3 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1318, allocations: 3.375 kB / 312.3 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.1334, allocations: 1.49 MB / 313.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1334, allocations: 12.42 kB / 313.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1335, allocations: 24.59 kB / 313.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1346, allocations: 1.24 MB / 315.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1346, allocations: 0 / 315.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1346, allocations: 0.6875 kB / 315.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1346, allocations: 0 / 315.1 MB, free: 7.363 MB / 282.7 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.0004486/0.1351, allocations: 484.9 kB / 315.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1351, allocations: 15.34 kB / 315.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.1351, allocations: 33.05 kB / 315.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.145e-05/0.1352, allocations: 17.77 kB / 315.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.1353, allocations: 122.6 kB / 315.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1353, allocations: 10.88 kB / 315.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1353, allocations: 1.562 kB / 315.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1355, allocations: 119.9 kB / 315.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1355, allocations: 384 / 315.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1355, allocations: 5.188 kB / 315.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1355, allocations: 0 / 315.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1356, allocations: 25.98 kB / 315.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.1357, allocations: 141.5 kB / 316 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1359, allocations: 74.39 kB / 316.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1359, allocations: 27.22 kB / 316.1 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002819/0.1387, allocations: 1.501 MB / 317.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1387, allocations: 36.75 kB / 317.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1387, allocations: 0 / 317.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002075/0.1389, allocations: 93.42 kB / 317.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.139, allocations: 78.45 kB / 317.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.139, allocations: 114.4 kB / 317.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.139, allocations: 26.73 kB / 317.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.139, allocations: 82.42 kB / 318 MB, free: 5.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1391, allocations: 20.42 kB / 318.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1391, allocations: 21.64 kB / 318.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.611e-05/0.1391, allocations: 312.1 kB / 318.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.1391, allocations: 14.64 kB / 318.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.1392, allocations: 29.27 kB / 318.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.1392, allocations: 46.55 kB / 318.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1392, allocations: 0 / 318.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.623e-05/0.1393, allocations: 70.22 kB / 318.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1393, allocations: 5.062 kB / 318.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1393, allocations: 1.719 kB / 318.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1393, allocations: 5.938 kB / 318.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.1394, allocations: 17.77 kB / 318.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1394, allocations: 5.719 kB / 318.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1394, allocations: 1.188 kB / 318.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1394, allocations: 6.156 kB / 318.6 MB, free: 5.305 MB / 282.7 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 3.683e-05/0.1395, allocations: 113.3 kB / 318.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1395, allocations: 7.859 kB / 318.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1396, allocations: 101.7 kB / 318.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1396, allocations: 5.062 kB / 318.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1397, allocations: 0.5312 kB / 318.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1397, allocations: 3.812 kB / 318.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.965e-05/0.1397, allocations: 145.8 kB / 318.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1397, allocations: 0.8438 kB / 318.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.1397, allocations: 15.45 kB / 319 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1397, allocations: 1.469 kB / 319 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1398, allocations: 2.125 kB / 319 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1398, allocations: 6.562 kB / 319 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1398, allocations: 1.125 kB / 319 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.1399, allocations: 97.17 kB / 319.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.1399, allocations: 9.953 kB / 319.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1399, allocations: 2.406 kB / 319.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.1399, allocations: 11.59 kB / 319.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.14, allocations: 10.64 kB / 319.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.14, allocations: 7.875 kB / 319.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.797e-05/0.14, allocations: 93.55 kB / 319.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.14, allocations: 0 / 319.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.1405, allocations: 326.7 kB / 319.5 MB, free: 4.676 MB / 282.7 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.0008689/0.1413, allocations: 1.157 MB / 320.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1414, allocations: 39.44 kB / 320.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1414, allocations: 1.125 kB / 320.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.1415, allocations: 19.45 kB / 320.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1416, allocations: 10.12 kB / 320.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.1426, allocations: 1.46 MB / 322.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.1426, allocations: 66.12 kB / 322.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.1427, allocations: 57.64 kB / 322.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.1427, allocations: 24.14 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1427, allocations: 96 / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1653, allocations: 11.35 MB / 333.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.548, allocations: 0 / 333.7 MB, free: 11.11 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 11.192572119645774]