Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009079/0.0009079, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8817/0.8817, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.383e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002372/0.002396, allocations: 1.343 MB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.01216, allocations: 10.72 MB / 336.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.01219, allocations: 0 / 336.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.01221, allocations: 3.938 kB / 336.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.01395, allocations: 1.033 MB / 337.6 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.01474, allocations: 0.6641 MB / 338.3 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.01485, allocations: 63.67 kB / 338.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.0149, allocations: 7.969 kB / 338.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.01496, allocations: 35.97 kB / 338.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.01506, allocations: 23.91 kB / 338.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.01508, allocations: 4 kB / 338.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.01669, allocations: 1.49 MB / 339.9 MB, free: 432 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.01671, allocations: 15.91 kB / 339.9 MB, free: 416 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.01673, allocations: 16 kB / 339.9 MB, free: 400 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01782, allocations: 1.243 MB / 341.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01782, allocations: 4 kB / 341.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01782, allocations: 0 / 341.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.01783, allocations: 0 / 341.2 MB, free: 15.14 MB / 314.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.0005195/0.01835, allocations: 488.2 kB / 341.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01839, allocations: 11.98 kB / 341.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.01842, allocations: 34.75 kB / 341.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.01851, allocations: 16.88 kB / 341.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.01862, allocations: 117.7 kB / 341.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.01863, allocations: 4.375 kB / 341.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.01864, allocations: 384 / 341.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.01878, allocations: 123.3 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.01879, allocations: 192 / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.0188, allocations: 7.938 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01881, allocations: 4 kB / 342 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.01888, allocations: 15.98 kB / 342 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.01903, allocations: 141.6 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.01926, allocations: 81.17 kB / 342.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.0193, allocations: 25.77 kB / 342.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/0.02235, allocations: 1.502 MB / 343.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.02238, allocations: 42.5 kB / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.02238, allocations: 0 / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002256/0.02261, allocations: 81.92 kB / 343.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.02264, allocations: 81.05 kB / 343.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.02271, allocations: 121.8 kB / 344 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.02273, allocations: 33.7 kB / 344.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.02275, allocations: 84.08 kB / 344.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.02278, allocations: 31.72 kB / 344.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.02281, allocations: 21.7 kB / 344.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.02288, allocations: 310.8 kB / 344.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.02291, allocations: 12 kB / 344.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.02295, allocations: 29.7 kB / 344.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.02302, allocations: 41.64 kB / 344.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.02302, allocations: 0 / 344.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.847e-05/0.02312, allocations: 73.62 kB / 344.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.02313, allocations: 4 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.02313, allocations: 3.938 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.02315, allocations: 4 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.02319, allocations: 15.92 kB / 344.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.02319, allocations: 0 / 344.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.02321, allocations: 4 kB / 344.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.02322, allocations: 0 / 344.7 MB, free: 11.37 MB / 314.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 5.406e-05/0.02328, allocations: 113.8 kB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.02329, allocations: 15.94 kB / 344.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.02346, allocations: 101.5 kB / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.02346, allocations: 4 kB / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02346, allocations: 3.984 kB / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.02347, allocations: 0 / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.02354, allocations: 136.8 kB / 345.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.02354, allocations: 0 / 345.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.02357, allocations: 11.94 kB / 345.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.02357, allocations: 4 kB / 345.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.02358, allocations: 7.938 kB / 345.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.02358, allocations: 3.984 kB / 345.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02359, allocations: 0 / 345.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.02369, allocations: 93.94 kB / 345.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.02371, allocations: 11.98 kB / 345.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.02373, allocations: 4.172 kB / 345.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.02376, allocations: 7.984 kB / 345.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.02379, allocations: 4 kB / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.0238, allocations: 12.16 kB / 345.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.02384, allocations: 91.28 kB / 345.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02384, allocations: 4 kB / 345.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.02427, allocations: 326.8 kB / 345.6 MB, free: 10.35 MB / 314.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.001076/0.02535, allocations: 1.155 MB / 346.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.02549, allocations: 43.89 kB / 346.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02549, allocations: 0 / 346.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.02553, allocations: 19.92 kB / 346.9 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.02568, allocations: 12.55 kB / 346.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02679, allocations: 1.455 MB / 348.3 MB, free: 7.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.02683, allocations: 71.28 kB / 348.4 MB, free: 7.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.02691, allocations: 47.86 kB / 348.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.02696, allocations: 28.42 kB / 348.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02696, allocations: 0 / 348.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.04918, allocations: 11.36 MB / 359.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.494, allocations: 7.875 kB / 359.8 MB, free: 12.09 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.319088472053409]